結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
_KingdomOfMoray
|
| 提出日時 | 2019-12-23 22:42:16 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 485 bytes |
| 記録 | |
| コンパイル時間 | 100 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2024-09-19 02:58:18 |
| 合計ジャッジ時間 | 3,386 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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