結果
問題 | No.687 E869120 and Constructing Array 1 |
ユーザー |
|
提出日時 | 2019-06-18 10:11:05 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 286 ms |
コンパイル使用メモリ | 21,576 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-09 00:44:11 |
合計ジャッジ時間 | 982 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
let () =let n = Scanf.scanf "%d\n" (fun x -> x) inlet m = if n mod 2 = 0 then n / 2 else (n-1) / 2 inPrintf.printf "%d %d\n" m (n-m)