結果

問題 No.677 10^Nの約数
ユーザー nebukuro09nebukuro09
提出日時 2018-04-27 22:23:52
言語 Python2
(2.7.18)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 1,209 ms
コンパイル使用メモリ 6,648 KB
実行使用メモリ 6,184 KB
最終ジャッジ日時 2023-09-10 06:19:06
合計ジャッジ時間 2,420 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
6,040 KB
testcase_01 AC 18 ms
5,940 KB
testcase_02 AC 18 ms
6,024 KB
testcase_03 AC 18 ms
5,964 KB
testcase_04 AC 18 ms
6,092 KB
testcase_05 AC 18 ms
6,028 KB
testcase_06 AC 18 ms
6,184 KB
testcase_07 AC 18 ms
6,116 KB
testcase_08 AC 19 ms
5,944 KB
testcase_09 AC 18 ms
6,052 KB
testcase_10 AC 18 ms
6,044 KB
testcase_11 AC 18 ms
6,040 KB
testcase_12 AC 19 ms
6,044 KB
testcase_13 AC 19 ms
5,964 KB
testcase_14 AC 18 ms
6,036 KB
testcase_15 AC 18 ms
6,048 KB
testcase_16 AC 18 ms
6,048 KB
testcase_17 AC 19 ms
5,968 KB
testcase_18 AC 19 ms
6,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
N = 10**N
S = set()
for i in xrange(70):
    for j in xrange(70):
        a = 2**i * 5**j
        if N % a == 0:
            S.add(a)
S = sorted(list(S))
for s in S:
    print s
0