結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-06-02 01:21:29 |
言語 | OCaml (5.2.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 271 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 19,820 KB |
実行使用メモリ | 816,688 KB |
最終ジャッジ日時 | 2024-11-09 00:25:40 |
合計ジャッジ時間 | 4,925 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 5 MLE * 1 -- * 9 |
ソースコード
let rec read_byte (i, last) = try let x = input_char stdin in if (String.length i) > 0 && (last = x) then read_byte (i, last) else read_byte (i ^ (String.make 1 x), x) with | End_of_file -> i;; read_byte ("", '\x00') |> print_string; print_newline ();;