結果

問題 No.1469 programing
ユーザー eseharaesehara
提出日時 2021-06-02 00:46:00
言語 OCaml
(5.1.0)
結果
TLE  
実行時間 -
コード長 219 bytes
コンパイル時間 382 ms
コンパイル使用メモリ 19,692 KB
実行使用メモリ 13,880 KB
最終ジャッジ日時 2024-04-26 09:57:18
合計ジャッジ時間 4,865 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

read_line () |> String.to_seq |> List.of_seq |> List.fold_left (fun i x -> if ((List.length i) > 0) && (List.hd i) = x then i else x::i) [] |> List.rev |> List.to_seq |> String.of_seq |> print_string;print_newline ();;
0