結果

問題 No.537 ユーザーID
ユーザー ys
提出日時 2018-08-13 20:53:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-24 08:14:50
合計ジャッジ時間 4,229 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
p = int(n ** 0.5)
num = 0
for i in range(1, p + 1):
    if n % i == 0:
        num += 1

if p ** 2 == n:
    print(num * 2 - 1)
else:
    print(num * 2)
0