結果
| 問題 |
No.1291 小手調べ
|
| コンテスト | |
| ユーザー |
uni_python
|
| 提出日時 | 2020-12-05 20:13:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 271 bytes |
| コンパイル時間 | 660 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-09-16 00:55:58 |
| 合計ジャッジ時間 | 970 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 |
ソースコード
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)
uni_python