結果

問題 No.537 ユーザーID
ユーザー fV9TwBhUoa9S3eVfV9TwBhUoa9S3eV
提出日時 2019-10-10 14:47:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 183 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 10,540 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-08-13 15:15:18
合計ジャッジ時間 4,744 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,936 KB
testcase_01 AC 15 ms
7,868 KB
testcase_02 AC 15 ms
7,976 KB
testcase_03 AC 15 ms
7,856 KB
testcase_04 AC 15 ms
7,820 KB
testcase_05 AC 15 ms
7,852 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 15 ms
7,968 KB
testcase_10 AC 15 ms
7,816 KB
testcase_11 AC 15 ms
7,768 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 180 ms
7,852 KB
testcase_19 AC 238 ms
7,824 KB
testcase_20 AC 219 ms
7,816 KB
testcase_21 AC 138 ms
7,892 KB
testcase_22 AC 227 ms
7,932 KB
testcase_23 AC 135 ms
7,864 KB
testcase_24 AC 51 ms
7,856 KB
testcase_25 AC 232 ms
7,868 KB
testcase_26 AC 249 ms
7,788 KB
testcase_27 AC 186 ms
7,848 KB
testcase_28 AC 98 ms
7,872 KB
testcase_29 AC 242 ms
7,808 KB
testcase_30 AC 199 ms
7,824 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# No.537 ユーザーID
n = int(input())
pairs = 0

for i in range(1, int(n ** 0.5) + 1):
    if i ** 2 == n:
        pairs += 1
    elif n % i == 0:
        pairs += 2

print(pairs)
0