結果

問題 No.1139 Slime Race
ユーザー Common Lisp
提出日時 2024-11-10 02:05:46
言語 Common Lisp
(sbcl 2.5.0)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 1,126 ms
コンパイル使用メモリ 26,496 KB
実行使用メモリ 29,824 KB
最終ジャッジ日時 2024-11-10 02:05:50
合計ジャッジ時間 3,943 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 10 NOV 2024 02:05:47 AM):

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

ソースコード

diff #

(defun main (&rest argv)
  (declare (ignorable argv))
  (let* ((n (read))
         (d (read))
         (x (read-line))
         (v (loop repeat n sum (read))))
    (declare (ignore x))
    (format t "~d~%" (ceiling d v))))

(main)
0