結果

問題 No.481 1から10
ユーザー Common Lisp
提出日時 2024-10-09 22:54:08
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 33,120 KB
実行使用メモリ 21,760 KB
最終ジャッジ日時 2024-10-09 22:54:10
合計ジャッジ時間 898 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 09 OCT 2024 10:54:08 PM):

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

ソースコード

diff #

; 入力された数を全て足し合わせて 55 から引いた数を出力する
(defun main (&rest argv)
  (declare (ignorable argv))
  (princ (- 55 (reduce #'+ (loop repeat 9 collect (read)))))
  (terpri))
(main)
0