結果

問題 No.1291 小手調べ
ユーザー fgshunfgshun
提出日時 2021-02-19 20:37:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 344 bytes
コンパイル時間 753 ms
コンパイル使用メモリ 10,636 KB
実行使用メモリ 8,240 KB
最終ジャッジ日時 2023-10-14 22:52:56
合計ジャッジ時間 1,422 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
8,016 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 15 ms
8,168 KB
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from itertools import islice


def _solve(N, D):
    for d in D:
        yield 9 * (10 ** (d - 1))


def solve(in_):
    N = int(next(in_))
    D = list(map(int, islice(in_, N)))
    return _solve(N, D)


def main():
    answer = solve(sys.stdin.buffer)
    print('\n'.join(map(str, answer)))


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