結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-16 15:31:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 220 bytes |
| コンパイル時間 | 202 ms |
| コンパイル使用メモリ | 82,476 KB |
| 実行使用メモリ | 59,192 KB |
| 最終ジャッジ日時 | 2025-04-16 15:36:17 |
| 合計ジャッジ時間 | 2,737 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
import math
n = int(input())
ans = 0
sqrt_n = int(math.isqrt(n))
for i in range(1, sqrt_n + 1):
if n % i == 0:
j = n // i
if i == j:
ans += 1
else:
ans += 2
print(ans)
lam6er