結果
| 問題 | No.481 1から10 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-21 23:38:11 |
| 言語 | Common Lisp (sbcl 2.6.3) |
| 結果 |
AC
|
| 実行時間 | 7 ms / 2,000 ms |
| コード長 | 245 bytes |
| 記録 | |
| コンパイル時間 | 162 ms |
| コンパイル使用メモリ | 33,476 KB |
| 実行使用メモリ | 29,548 KB |
| 最終ジャッジ日時 | 2026-07-07 19:01:46 |
| 合計ジャッジ時間 | 1,361 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 07 JUL 2026 07:01:44 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.004
ソースコード
(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))