結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
_KingdomOfMoray
|
| 提出日時 | 2019-12-23 22:42:16 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 485 bytes |
| 記録 | |
| コンパイル時間 | 293 ms |
| コンパイル使用メモリ | 21,280 KB |
| 実行使用メモリ | 16,124 KB |
| 最終ジャッジ日時 | 2026-08-30 17:54:16 |
| 合計ジャッジ時間 | 6,020 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
n = int(input())
def make_divisors(n):
divisors = []
square = 0
for i in range(1, int(n**0.5)+1):
if n % i == 0:
cur = []
if i != n // i:
cur.append(n//i)
cur.append(n//i)
else:
cur.append(i)
cur.append(n//i)
square += 1
divisors.append(cur)
return 2*len(divisors) - square
res = make_divisors(n)
print(res)
_KingdomOfMoray