結果

問題 No.1469 programing
コンテスト
ユーザー esehara
提出日時 2021-06-02 00:49:25
言語 OCaml
(5.5.0)
コンパイル:
ocamlfind ocamlopt -linkpkg -package zarith,str _filename_ -o a.out
実行:
./a.out
結果
WA  
実行時間 -
コード長 183 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 127 ms
コンパイル使用メモリ 21,440 KB
実行使用メモリ 9,924 KB
最終ジャッジ日時 2026-09-21 15:10:42
合計ジャッジ時間 15,217 ms
ジャッジサーバーID
(参考情報)
judge4_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 9 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 x -> if ((String.length i) > 0) && (String.get i 0) = x then i else i ^ (String.make 1 x)) "" |> print_string;print_newline ();;
0