結果

問題 No.481 1から10
ユーザー まんしmaNNshi
提出日時 2025-03-21 23:38:11
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 9 ms / 2,000 ms
コード長 245 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 32,980 KB
実行使用メモリ 23,656 KB
最終ジャッジ日時 2025-03-21 23:38:13
合計ジャッジ時間 1,259 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 MAR 2025 11:38:11 PM):

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

ソースコード

diff #

(defvar B)
(defvar temp)
(setq temp (read-line))
(setq temp (read-from-string (concatenate 'string "(" temp ")")))

(defvar sum )
(setq sum 0)
(loop for x in temp do
        ;(print x)
        (setq sum (+ sum x))
)
(format 't "~d~%" (- 55 sum))
0