結果

問題 No.537 ユーザーID
ユーザー S6136OS6136O
提出日時 2017-09-21 01:25:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 268 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 17,824 KB
最終ジャッジ日時 2024-04-25 21:26:28
合計ジャッジ時間 16,164 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
17,824 KB
testcase_01 AC 27 ms
10,752 KB
testcase_02 AC 27 ms
10,880 KB
testcase_03 AC 27 ms
10,752 KB
testcase_04 AC 26 ms
10,880 KB
testcase_05 AC 25 ms
10,752 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 26 ms
10,880 KB
testcase_10 AC 26 ms
10,752 KB
testcase_11 AC 25 ms
10,752 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 1,062 ms
10,752 KB
testcase_19 AC 349 ms
10,752 KB
testcase_20 AC 253 ms
10,752 KB
testcase_21 AC 473 ms
10,752 KB
testcase_22 AC 1,043 ms
10,752 KB
testcase_23 TLE -
testcase_24 AC 65 ms
10,752 KB
testcase_25 TLE -
testcase_26 TLE -
testcase_27 AC 581 ms
10,752 KB
testcase_28 TLE -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
limit = int(n**(1/2))
numbers = []

for i in range(1, limit + 1):
    if i in numbers:
        break
    elif n%i == 0:
        numbers.append(i)
        numbers.append(n//i)

if limit**2 == n:
    print(len(numbers) - 1)
else:
    print(len(numbers))
0