結果

問題 No.1406 Test
ユーザー linuxmetellinuxmetel
提出日時 2021-02-26 21:31:11
言語 Common Lisp
(sbcl 2.3.8)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 1,558 ms
コンパイル使用メモリ 34,268 KB
実行使用メモリ 29,888 KB
最終ジャッジ日時 2024-04-10 12:03:42
合計ジャッジ時間 2,357 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

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

; file: /home/judge/data/code/Main.lisp
; in:
;      PRINC (1- (CEILING (- 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- (ceiling (- 100 (multiple-value-bind (_ x) (ceiling s n) x)) n)))
(fresh-line)
0