結果
| 問題 |
No.1057 素敵な日
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-06-01 21:24:40 |
| 言語 | OCaml (5.2.1) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 137 bytes |
| コンパイル時間 | 447 ms |
| コンパイル使用メモリ | 21,700 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-09 01:00:29 |
| 合計ジャッジ時間 | 788 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
let () =
let a, b = Scanf.scanf "%d %d\n" @@ fun a b -> a, b in
print_int (if a < b then a*2 else if a = b then a*2 - 1 else b*2)