結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-15 21:13:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 220 bytes |
| コンパイル時間 | 577 ms |
| コンパイル使用メモリ | 82,640 KB |
| 実行使用メモリ | 60,092 KB |
| 最終ジャッジ日時 | 2025-04-15 21:19:06 |
| 合計ジャッジ時間 | 3,205 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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