結果

問題 No.1469 programing
ユーザー eseharaesehara
提出日時 2021-06-02 01:04:36
言語 OCaml
(5.1.0)
結果
TLE  
実行時間 -
コード長 226 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 19,820 KB
実行使用メモリ 13,092 KB
最終ジャッジ日時 2024-04-26 09:58:47
合計ジャッジ時間 6,690 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
10,624 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 3 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 401 ms
5,612 KB
testcase_09 AC 740 ms
5,864 KB
testcase_10 AC 615 ms
5,808 KB
testcase_11 TLE -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

read_line () |> String.to_seq |> Seq.fold_left (fun (i, last) x -> if ((String.length i) > 0) && (last = x) then (i, last) else (i ^ (String.make 1 x), x)) ("", '\x00') |> (fun (x, _) -> x) |> print_string; print_newline ();;
0