結果

問題 No.677 10^Nの約数
ユーザー hanorverhanorver
提出日時 2018-04-29 14:46:51
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 206 bytes
コンパイル時間 2,850 ms
コンパイル使用メモリ 87,016 KB
実行使用メモリ 75,816 KB
最終ジャッジ日時 2023-09-10 08:03:08
合計ジャッジ時間 7,489 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
75,644 KB
testcase_01 AC 67 ms
71,160 KB
testcase_02 AC 68 ms
71,112 KB
testcase_03 AC 68 ms
71,196 KB
testcase_04 AC 69 ms
70,952 KB
testcase_05 AC 70 ms
71,084 KB
testcase_06 AC 69 ms
71,124 KB
testcase_07 AC 72 ms
75,456 KB
testcase_08 AC 71 ms
75,668 KB
testcase_09 AC 73 ms
75,732 KB
testcase_10 AC 74 ms
75,608 KB
testcase_11 AC 77 ms
75,796 KB
testcase_12 AC 84 ms
75,572 KB
testcase_13 AC 113 ms
75,536 KB
testcase_14 AC 208 ms
75,664 KB
testcase_15 AC 497 ms
75,644 KB
testcase_16 AC 1,404 ms
75,816 KB
testcase_17 TLE -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = 10 ** int(input())

i = 1

ans = list()
while i * i <= n:
    if n % i == 0:
        ans.append(i)
        if n / i != i:
            ans.append(n // i)
    i += 1

ans.sort()
for i in ans:
    print(i)
0