結果

問題 No.1291 小手調べ
ユーザー mmn15277198mmn15277198
提出日時 2020-11-22 11:23:53
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 10,788 KB
実行使用メモリ 7,940 KB
最終ジャッジ日時 2023-09-30 22:37:41
合計ジャッジ時間 756 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,736 KB
testcase_01 AC 17 ms
7,940 KB
testcase_02 AC 18 ms
7,816 KB
testcase_03 AC 17 ms
7,784 KB
testcase_04 AC 16 ms
7,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = []
for i in range(n):
    d = int(input())
    if d == 1:
        ans.append(10)
    else:
        d -= 1
        a = 10 ** d * 9
        ans.append(a)
for i in range(n):
    print(ans[i])
0