結果
| 問題 | No.677 10^Nの約数 | 
| コンテスト | |
| ユーザー |  はむ吉🐹 | 
| 提出日時 | 2018-04-29 16:32:30 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 34 ms / 2,000 ms | 
| コード長 | 340 bytes | 
| コンパイル時間 | 127 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-06-27 23:33:30 | 
| 合計ジャッジ時間 | 1,428 ms | 
| ジャッジサーバーID (参考情報) | judge5 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 17 | 
ソースコード
#!/usr/bin/env python3
import itertools
def divisors_of_pow10(n):
    twos = (2 ** i for i in range(n + 1))
    fives = (5 ** i for i in range(n + 1))
    return sorted(t * f for t, f in itertools.product(twos, fives))
def main():
    n = int(input())
    print(*divisors_of_pow10(n), sep="\n")
if __name__ == '__main__':
    main()
            
            
            
        