結果

問題 No.537 ユーザーID
ユーザー c7t1012c7t1012
提出日時 2018-04-09 11:31:13
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 207 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 8,092 KB
最終ジャッジ日時 2023-09-09 03:24:13
合計ジャッジ時間 3,698 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,940 KB
testcase_02 WA -
testcase_03 AC 15 ms
7,940 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 16 ms
7,920 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 114 ms
7,924 KB
testcase_19 AC 148 ms
7,868 KB
testcase_20 AC 131 ms
7,892 KB
testcase_21 AC 91 ms
8,004 KB
testcase_22 AC 144 ms
7,864 KB
testcase_23 AC 89 ms
7,864 KB
testcase_24 AC 37 ms
7,924 KB
testcase_25 AC 141 ms
7,912 KB
testcase_26 WA -
testcase_27 AC 118 ms
7,896 KB
testcase_28 AC 66 ms
8,000 KB
testcase_29 AC 151 ms
7,940 KB
testcase_30 AC 126 ms
7,884 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

n = int(input())
ans = 0
for i in range(1, round(math.sqrt(n))):
    if n % i == 0:
        r = n // i
        if n // r == r:
            ans += 1
        else:
            ans += 2
print(ans)
0