結果
問題 |
No.1992 Tendon Walk
|
ユーザー |
![]() |
提出日時 | 2022-07-14 20:54:42 |
言語 | OCaml (5.2.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 175 bytes |
コンパイル時間 | 247 ms |
コンパイル使用メモリ | 21,448 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-26 05:22:01 |
合計ジャッジ時間 | 760 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 |
ソースコード
Scanf.scanf "%d" (fun i -> let f x = if x = 2 then 2 else if x mod 2 = 0 then 5 * x - 16 else 5 * x - 10 in Printf.printf "%d\n" @@ f i );;