結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,976 KB
testcase_01 AC 17 ms
7,920 KB
testcase_02 WA -
testcase_03 AC 16 ms
7,932 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 16 ms
7,928 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 16 ms
8,008 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 117 ms
8,060 KB
testcase_19 AC 152 ms
7,948 KB
testcase_20 AC 132 ms
7,892 KB
testcase_21 AC 91 ms
7,952 KB
testcase_22 AC 143 ms
8,080 KB
testcase_23 AC 88 ms
7,904 KB
testcase_24 AC 39 ms
7,892 KB
testcase_25 AC 142 ms
7,904 KB
testcase_26 WA -
testcase_27 AC 118 ms
8,068 KB
testcase_28 AC 66 ms
8,084 KB
testcase_29 AC 153 ms
8,080 KB
testcase_30 AC 127 ms
7,904 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, math.ceil(math.sqrt(n))):
    if n % i == 0:
        r = n // i
        if n // r == r:
            ans += 1
        else:
            ans += 2
print(ans)
0