結果

問題 No.597 concat
ユーザー maimai8maimai8
提出日時 2019-05-13 11:55:18
言語 OCaml
(5.2.1)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 21,704 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-09 00:37:58
合計ジャッジ時間 1,030 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

let () =
    let n = Scanf.scanf "%d\n" (fun x -> x) in
    let lst = Array.to_list (Array.init n (fun _ -> Scanf.scanf "%s\n" (fun x -> x))) in
    Printf.printf "%s\n" (List.fold_left (^) "" lst)
0