結果

問題 No.597 concat
ユーザー ducktail
提出日時 2019-10-01 14:16:34
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 27 ms / 2,000 ms
コード長 302 bytes
コンパイル時間 35 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-10-03 05:41:05
合計ジャッジ時間 995 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (read-list n)
  (cond [(zero? n) '()]
        [else (let1 x (read-line)
                    (cons x (read-list (- n 1))))]))

(define (solve ls)
  (apply string-append ls))

(define (main args)
  (let* ([n (string->number (read-line))]
         [ls (read-list n)])
    (print (solve ls)))
  0)
0