結果
問題 |
No.677 10^Nの約数
|
ユーザー |
|
提出日時 | 2018-04-28 00:07:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 281 bytes |
コンパイル時間 | 258 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 17,696 KB |
最終ジャッジ日時 | 2024-06-27 22:38:08 |
合計ジャッジ時間 | 5,813 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 1 WA * 11 TLE * 1 -- * 4 |
ソースコード
def main(): N = int(input()) n = 10 ** N x = int(n ** 0.5) + 1 y = (2, 5) ans = {1, n} for i in range(1, x): for j in y: a = j * i if not n % a: ans.add(a) for i in sorted(ans): print(i) main()