結果

問題 No.632 穴埋め門松列
コンテスト
ユーザー maimai8
提出日時 2020-06-14 19:27:09
言語 OCaml
(5.4.1)
コンパイル:
ocamlfind ocamlopt -linkpkg -package zarith,str _filename_ -o a.out
実行:
./a.out
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 129 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 266 ms
コンパイル使用メモリ 23,052 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2026-04-25 04:58:41
合計ジャッジ時間 930 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

let () =
  Scanf.scanf "%s %s %s\n" @@ fun _ c2 _ ->
  Printf.printf "%d\n" (if c2 = "2" then 4 else if c2 = "3" then 1 else 14)
0