結果
問題 | No.537 ユーザーID |
ユーザー |
![]() |
提出日時 | 2017-07-03 22:46:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 231 bytes |
コンパイル時間 | 204 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-10-05 12:49:15 |
合計ジャッジ時間 | 4,300 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 WA * 13 |
ソースコード
import mathN = int(input().strip())s = {}count = 0for i in range(1, int(math.sqrt(N))+1):if N % i == 0 and s.get(i, 0) == 0 and s.get(N//i, 0) == 0:s[i] = 1count += 2 if i != N//i else 1print(count)