結果
問題 | No.1291 小手調べ |
ユーザー | uni_python |
提出日時 | 2020-12-05 20:13:17 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 271 bytes |
コンパイル時間 | 359 ms |
コンパイル使用メモリ | 86,744 KB |
実行使用メモリ | 71,456 KB |
最終ジャッジ日時 | 2023-10-14 05:37:55 |
合計ジャッジ時間 | 1,334 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 82 ms
71,456 KB |
testcase_01 | AC | 75 ms
71,212 KB |
testcase_02 | AC | 75 ms
71,068 KB |
testcase_03 | AC | 74 ms
71,240 KB |
testcase_04 | AC | 73 ms
71,252 KB |
ソースコード
import sys input=sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) mod=10**9+7 N=I() for _ in range(N): d=I() res=9*pow(10,d-1) if d==1: res+=1 print(res)