結果
| 問題 |
No.677 10^Nの約数
|
| コンテスト | |
| ユーザー |
wagasa2
|
| 提出日時 | 2018-04-27 23:43:40 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 460 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 17,696 KB |
| 最終ジャッジ日時 | 2024-06-27 22:29:59 |
| 合計ジャッジ時間 | 4,303 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 6 TLE * 1 -- * 10 |
ソースコード
#coding:utf8
def makeDivisorList(n):
if n < 1:
return []
elif n == 1:
return [1]
else:
divisorList = []
divisorList.append(1)
for i in range(2, n // 2 + 1 ):
if n % i == 0:
divisorList.append(i)
divisorList.append(n)
return divisorList
N = int(input())
N = pow(10,N)
divisorList = makeDivisorList(N)
for i in range(0, len(divisorList)):
print(divisorList[i])
wagasa2