結果
| 問題 | No.1291 小手調べ | 
| コンテスト | |
| ユーザー |  motoshira | 
| 提出日時 | 2020-12-20 11:37:11 | 
| 言語 | Common Lisp (sbcl 2.5.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 11 ms / 2,000 ms | 
| コード長 | 256 bytes | 
| コンパイル時間 | 1,467 ms | 
| コンパイル使用メモリ | 36,520 KB | 
| 実行使用メモリ | 29,736 KB | 
| 最終ジャッジ日時 | 2024-09-21 11:39:22 | 
| 合計ジャッジ時間 | 2,263 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 4 | 
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 21 SEP 2024 11:39:19 AM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.021
ソースコード
(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)
            
            
            
        