結果

問題 No.1469 programing
ユーザー esehara
提出日時 2021-06-02 01:04:36
言語 OCaml
(5.2.1)
結果
TLE  
実行時間 -
コード長 226 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 19,692 KB
実行使用メモリ 13,088 KB
最終ジャッジ日時 2024-11-09 00:25:22
合計ジャッジ時間 6,911 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 8 TLE * 1 -- * 6
権限があれば一括ダウンロードができます

ソースコード

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