結果

問題 No.1992 Tendon Walk
ユーザー Schnee
提出日時 2022-07-14 20:53:36
言語 OCaml
(5.2.1)
結果
WA  
実行時間 -
コード長 144 bytes
コンパイル時間 1,206 ms
コンパイル使用メモリ 21,448 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-26 05:20:49
合計ジャッジ時間 1,618 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

Scanf.scanf "%d" (fun i ->
  let f x =
    if x mod 2 = 0 then
      5 * x - 16
    else
      5 * x - 10
  in
  Printf.printf "%d\n" @@ f i
);;
0