結果

問題 No.418 ミンミンゼミ
ユーザー まんしmaNNshi
提出日時 2025-03-29 20:35:48
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 10 ms / 1,000 ms
コード長 171 bytes
コンパイル時間 500 ms
コンパイル使用メモリ 29,060 KB
実行使用メモリ 25,664 KB
最終ジャッジ日時 2025-03-29 20:35:51
合計ジャッジ時間 2,128 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 25
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 29 MAR 2025 08:35:49 PM):

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

ソースコード

diff #

(defvar cnt)
(setq cnt 0)
(loop for char = (read-char nil nil) do
        (if (eql char #\Newline) (return))
        (if (eql char #\n) (incf cnt))
)
(format t "~d~%" cnt)
0