結果

問題 No.1291 小手調べ
ユーザー tcltktcltk
提出日時 2020-11-20 22:17:51
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 279 bytes
コンパイル時間 63 ms
使用メモリ 7,660 KB
最終ジャッジ日時 2023-02-23 18:41:20
合計ジャッジ時間 904 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 16 ms
7,532 KB
testcase_01 AC 15 ms
7,616 KB
testcase_02 AC 16 ms
7,660 KB
testcase_03 AC 16 ms
7,556 KB
testcase_04 AC 16 ms
7,536 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
# from typing import *


def main():
    N = int(input())
    for i in range(N):
        d = int(input())
        if d == 1:
            print(10)
        else:
            print(10 ** d - 10 ** (d - 1))
            

if __name__ == '__main__':
    main()
0