結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2019-12-23 22:42:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
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 = 0for 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 += 1divisors.append(cur)return 2*len(divisors) - squareres = make_divisors(n)print(res)