結果
問題 |
No.1469 programing
|
ユーザー |
|
提出日時 | 2021-06-02 00:54:51 |
言語 | OCaml (5.2.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 203 bytes |
コンパイル時間 | 503 ms |
コンパイル使用メモリ | 19,712 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-09 00:25:14 |
合計ジャッジ時間 | 6,232 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 TLE * 1 -- * 9 |
ソースコード
read_line () |> String.to_seq |> Seq.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 ();;