結果

問題 No.1406 Test
ユーザー linuxmetellinuxmetel
提出日時 2021-02-26 21:37:01
言語 Common Lisp
(sbcl 2.3.8)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 1,751 ms
コンパイル使用メモリ 38,564 KB
実行使用メモリ 29,756 KB
最終ジャッジ日時 2024-04-10 12:11:19
合計ジャッジ時間 2,712 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
25,640 KB
testcase_01 AC 8 ms
25,768 KB
testcase_02 AC 10 ms
29,756 KB
testcase_03 AC 9 ms
25,640 KB
testcase_04 AC 9 ms
27,724 KB
testcase_05 AC 9 ms
27,600 KB
testcase_06 AC 8 ms
25,640 KB
testcase_07 AC 7 ms
25,768 KB
testcase_08 AC 7 ms
25,768 KB
testcase_09 AC 8 ms
27,848 KB
testcase_10 AC 8 ms
25,768 KB
testcase_11 AC 9 ms
25,636 KB
testcase_12 AC 9 ms
25,772 KB
testcase_13 AC 9 ms
29,756 KB
testcase_14 AC 8 ms
25,640 KB
testcase_15 AC 8 ms
25,640 KB
testcase_16 AC 8 ms
29,756 KB
testcase_17 AC 9 ms
25,640 KB
testcase_18 AC 8 ms
25,640 KB
testcase_19 AC 9 ms
27,600 KB
testcase_20 AC 10 ms
29,604 KB
testcase_21 AC 9 ms
27,724 KB
testcase_22 AC 9 ms
25,644 KB
testcase_23 AC 10 ms
29,732 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 10 APR 2024 12:11:16 PM):

; file: /home/judge/data/code/Main.lisp
; in:
;      PRINC (1+ (FLOOR (+ 100 (MULTIPLE-VALUE-BIND (_ X) (CEILING S N) X)) N))
;     (MULTIPLE-VALUE-BIND (_ X) (CEILING S N) X)
; 
; caught STYLE-WARNING:
;   The variable _ is defined but never used.
; 
; compilation unit finished
;   caught 1 STYLE-WARNING condition


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

ソースコード

diff #

(defvar n (read)) 

(defvar s (loop repeat (1- n) 
                sum (read))) 

(princ (1+ (floor (+ 100 (multiple-value-bind (_ x) (ceiling s n) x)) n)))
(fresh-line)
0