結果
| 問題 | No.304 鍵(1) |
| コンテスト | |
| ユーザー |
piconic_X
|
| 提出日時 | 2015-11-28 00:18:41 |
| 言語 | OCaml (5.2.1) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| コード長 | 244 bytes |
| コンパイル時間 | 1,993 ms |
| コンパイル使用メモリ | 20,852 KB |
| 実行使用メモリ | 25,580 KB |
| 平均クエリ数 | 309.17 |
| 最終ジャッジ日時 | 2024-07-16 21:52:20 |
| 合計ジャッジ時間 | 2,865 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
let rec output i =
if i > 999 then output 0 else
let judge = read_line () in
if judge = "locked" then (Printf.printf "%03d" i; print_newline (); output (i+1))
else exit 0
let () = Printf.printf "000"; print_newline ();
output 1
piconic_X