結果

問題 No.677 10^Nの約数
ユーザー dango
提出日時 2023-06-06 21:10:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 226 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 82,456 KB
実行使用メモリ 52,608 KB
最終ジャッジ日時 2024-12-29 08:47:20
合計ジャッジ時間 2,094 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

from itertools import product
N = int(input())
divisors = list()
for two_idx, five_idx in product(range(N + 1), repeat = 2):
  divisors.append(2**two_idx * 5 ** five_idx)
print("\n".join(map(str, sorted(list(set(divisors))))))
0