結果

問題 No.1469 programing
コンテスト
ユーザー esehara
提出日時 2021-06-02 01:04:36
言語 OCaml
(5.5.0)
コンパイル:
ocamlfind ocamlopt -linkpkg -package zarith,str _filename_ -o a.out
実行:
./a.out
結果
TLE  
実行時間 -
コード長 226 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 94 ms
コンパイル使用メモリ 21,480 KB
実行使用メモリ 9,900 KB
最終ジャッジ日時 2026-09-21 15:11:23
合計ジャッジ時間 14,343 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge4_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 TLE * 2 -- * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
ocamlfind: [WARNING] Cannot read directory ./stublibs which is mentioned in ld.conf

ソースコード

diff #
raw source code

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