結果

問題 No.677 10^Nの約数
ユーザー tamatotamato
提出日時 2020-03-11 08:59:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 279 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 82,444 KB
実行使用メモリ 53,596 KB
最終ジャッジ日時 2024-04-27 19:09:29
合計ジャッジ時間 1,422 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
53,596 KB
testcase_01 AC 34 ms
52,756 KB
testcase_02 AC 31 ms
52,676 KB
testcase_03 AC 32 ms
52,072 KB
testcase_04 AC 31 ms
52,004 KB
testcase_05 AC 33 ms
52,340 KB
testcase_06 AC 32 ms
52,372 KB
testcase_07 AC 33 ms
51,820 KB
testcase_08 AC 32 ms
52,688 KB
testcase_09 AC 34 ms
53,152 KB
testcase_10 AC 31 ms
52,684 KB
testcase_11 AC 31 ms
52,492 KB
testcase_12 AC 32 ms
52,388 KB
testcase_13 AC 31 ms
52,192 KB
testcase_14 AC 34 ms
52,692 KB
testcase_15 AC 32 ms
52,380 KB
testcase_16 AC 33 ms
52,744 KB
testcase_17 AC 34 ms
52,604 KB
testcase_18 AC 33 ms
53,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    import sys
    input = sys.stdin.readline

    N = int(input())

    ans = []
    for i in range(N+1):
        for j in range(N+1):
            ans.append((2**i) * (5**j))
    ans.sort()
    print('\n'.join(map(str, ans)))


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