結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-02 01:23:58 |
| 言語 | OCaml (5.4.1) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 253 bytes |
| 記録 | |
| コンパイル時間 | 484 ms |
| コンパイル使用メモリ | 21,180 KB |
| 実行使用メモリ | 1,306,376 KB |
| 最終ジャッジ日時 | 2026-05-09 04:59:20 |
| 合計ジャッジ時間 | 2,341 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 MLE * 2 -- * 8 |
ソースコード
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;;