結果

問題 No.597 concat
ユーザー Common Lisp
提出日時 2024-10-11 17:45:18
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 1,013 ms
コンパイル使用メモリ 26,368 KB
実行使用メモリ 22,016 KB
最終ジャッジ日時 2024-10-11 17:45:20
合計ジャッジ時間 2,189 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 11 OCT 2024 05:45:18 PM):

; wrote /home/judge/data/code/Main.fasl
; compilation finished in 0:00:00.023

ソースコード

diff #

(defun main (&rest argv)
  (declare (ignorable argv))
  (let* ((n (read))
         (ans ""))
    (dotimes (_ n)
      (setf ans (concatenate 'string ans (read-line))))
    (princ ans)
    (terpri)))
(main)
0