結果

問題 No.203 ゴールデン・ウィーク(1)
コンテスト
ユーザー まんしmaNNshi
提出日時 2025-03-28 21:50:10
言語 Common Lisp
(sbcl 2.6.3)
コンパイル:
sbclc _filename_
実行:
sbcl --script Main.fasl
結果
AC  
実行時間 6 ms / 1,000 ms
コード長 368 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 844 ms
コンパイル使用メモリ 35,380 KB
実行使用メモリ 27,636 KB
最終ジャッジ日時 2026-07-08 00:55:00
合計ジャッジ時間 2,769 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 08 JUL 2026 12:54:57 AM):

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

ソースコード

diff #
raw source code

(defparameter ans 0)
(defparameter temp 0)
(loop for char = (read-char nil nil) do
    (if (eq char nil) (return))
    (if (not (eq char #\Newline)) 
        (if (eq char #\x ) (progn
            (setq ans (max ans temp))
            (setq temp 0)
        )   
            (setq temp (+ temp 1)) 
        )   
    )   
)
(setq ans (max ans temp))
(format t "~d~%" ans)
0