結果

問題 No.677 10^Nの約数
ユーザー NagisaNagisa
提出日時 2018-04-27 22:41:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 10,616 KB
実行使用メモリ 12,752 KB
最終ジャッジ日時 2023-09-10 06:32:03
合計ジャッジ時間 8,047 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
8,092 KB
testcase_02 WA -
testcase_03 AC 16 ms
7,972 KB
testcase_04 WA -
testcase_05 AC 16 ms
7,988 KB
testcase_06 WA -
testcase_07 AC 17 ms
7,924 KB
testcase_08 WA -
testcase_09 AC 24 ms
7,984 KB
testcase_10 WA -
testcase_11 AC 109 ms
7,872 KB
testcase_12 WA -
testcase_13 AC 929 ms
7,984 KB
testcase_14 TLE -
testcase_15 TLE -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
N = int(input())
A = []

for k in range(1,1+int(math.sqrt(10**N))):
    if (10**N)%k==0:
        A.append((10**N)//k)
        A.append(k)
A.sort()
for k in A:
    print(k)
0