結果
| 問題 | No.677 10^Nの約数 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-10-05 15:56:47 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                TLE
                                 
                             | 
| 実行時間 | - | 
| コード長 | 381 bytes | 
| コンパイル時間 | 83 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 17,568 KB | 
| 最終ジャッジ日時 | 2024-10-12 12:34:23 | 
| 合計ジャッジ時間 | 5,995 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 13 TLE * 1 -- * 3 | 
ソースコード
from itertools import product as p
from collections import Counter as c
from functools import reduce
n=10**(int(input()))
l=[1]
for i in range(2,1+int(n**0.5)):
  while n%i==0:
    l.append(i)
    n=n//i
if n:l.append(n)
d=c(l)
a,b=d.keys(),d.values()
f=lambda x,y:x**y
g=lambda x,y:x*y
for j in sorted(set(reduce(g,map(f,a,i)) for i in p(*[range(i+1) for i in b]))):
  print(j)
            
            
            
        