結果
| 問題 |
No.1406 Test
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-26 21:31:11 |
| 言語 | Common Lisp (sbcl 2.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 171 bytes |
| コンパイル時間 | 1,486 ms |
| コンパイル使用メモリ | 38,564 KB |
| 実行使用メモリ | 31,892 KB |
| 最終ジャッジ日時 | 2024-10-02 14:02:07 |
| 合計ジャッジ時間 | 2,467 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 WA * 14 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 02 OCT 2024 02:02:04 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.017
ソースコード
(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)