結果

問題 No.537 ユーザーID
ユーザー ysys
提出日時 2018-08-13 20:57:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 11,728 KB
実行使用メモリ 10,060 KB
最終ジャッジ日時 2023-10-24 16:49:04
合計ジャッジ時間 3,814 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
9,980 KB
testcase_01 AC 29 ms
10,044 KB
testcase_02 AC 27 ms
9,980 KB
testcase_03 AC 26 ms
9,980 KB
testcase_04 AC 26 ms
10,044 KB
testcase_05 AC 27 ms
10,044 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 26 ms
10,044 KB
testcase_09 AC 26 ms
9,948 KB
testcase_10 AC 26 ms
10,044 KB
testcase_11 AC 26 ms
10,044 KB
testcase_12 AC 26 ms
10,044 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 26 ms
10,044 KB
testcase_16 AC 26 ms
10,044 KB
testcase_17 WA -
testcase_18 AC 137 ms
10,044 KB
testcase_19 AC 168 ms
9,980 KB
testcase_20 AC 152 ms
10,044 KB
testcase_21 AC 106 ms
10,044 KB
testcase_22 AC 163 ms
9,980 KB
testcase_23 AC 103 ms
10,044 KB
testcase_24 AC 49 ms
10,044 KB
testcase_25 AC 169 ms
9,980 KB
testcase_26 AC 178 ms
10,044 KB
testcase_27 AC 139 ms
10,044 KB
testcase_28 AC 83 ms
10,044 KB
testcase_29 AC 182 ms
10,044 KB
testcase_30 AC 153 ms
10,044 KB
testcase_31 WA -
testcase_32 AC 75 ms
9,980 KB
testcase_33 WA -
testcase_34 AC 126 ms
9,980 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
p = int(n ** 0.5)
num = 0
for i in range(1, p + 1):
    if n % i == 0:
        if str(i) + str(n // i) == str(n // i) + str(i):
            num += 1
        else:
            num += 2

print(num)
0