結果

問題 No.537 ユーザーID
ユーザー lloyzlloyz
提出日時 2022-10-01 17:09:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 171 bytes
コンパイル時間 267 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 8,004 KB
最終ジャッジ日時 2023-08-25 14:51:34
合計ジャッジ時間 5,541 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,812 KB
testcase_01 AC 17 ms
7,812 KB
testcase_02 AC 16 ms
7,952 KB
testcase_03 AC 17 ms
7,780 KB
testcase_04 AC 16 ms
7,968 KB
testcase_05 AC 15 ms
7,784 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,856 KB
testcase_10 AC 15 ms
7,964 KB
testcase_11 AC 15 ms
7,964 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 205 ms
7,956 KB
testcase_19 AC 288 ms
7,868 KB
testcase_20 AC 245 ms
7,864 KB
testcase_21 AC 156 ms
7,964 KB
testcase_22 AC 278 ms
7,800 KB
testcase_23 AC 152 ms
7,808 KB
testcase_24 AC 60 ms
8,000 KB
testcase_25 AC 267 ms
7,856 KB
testcase_26 AC 283 ms
7,812 KB
testcase_27 AC 225 ms
7,848 KB
testcase_28 AC 119 ms
7,864 KB
testcase_29 AC 276 ms
7,784 KB
testcase_30 AC 232 ms
7,852 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

ans = 0
i = 1
while i * i <= n:
    if n % i == 0:
        if n // i == i:
            ans += 1
        else:
            ans += 2
    i += 1
print(ans)
0