結果
問題 | No.1291 小手調べ |
ユーザー |
![]() |
提出日時 | 2020-12-20 11:37:11 |
言語 | Common Lisp (sbcl 2.3.8) |
結果 |
AC
|
実行時間 | 12 ms / 2,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 1,033 ms |
コンパイル使用メモリ | 33,828 KB |
実行使用メモリ | 29,708 KB |
最終ジャッジ日時 | 2023-10-21 10:33:05 |
合計ジャッジ時間 | 1,980 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 11 ms
29,644 KB |
testcase_01 | AC | 12 ms
29,688 KB |
testcase_02 | AC | 12 ms
29,688 KB |
testcase_03 | AC | 12 ms
29,708 KB |
testcase_04 | AC | 10 ms
29,392 KB |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 OCT 2023 01:33:03 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.027
ソースコード
(defun main () (let ((n (read))) (loop repeat n for d = (read) do (princ (if (> d 1) (- (expt 10 d) (expt 10 (1- d))) 10)) (terpri)))) (main)