結果

問題 No.537 ユーザーID
ユーザー O2MTO2MT
提出日時 2020-10-21 10:12:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 159 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 140 ms
コンパイル使用メモリ 10,728 KB
実行使用メモリ 9,352 KB
最終ジャッジ日時 2023-09-28 14:06:47
合計ジャッジ時間 3,742 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
8,028 KB
testcase_01 AC 17 ms
7,956 KB
testcase_02 AC 18 ms
7,980 KB
testcase_03 AC 16 ms
7,916 KB
testcase_04 AC 16 ms
8,032 KB
testcase_05 AC 16 ms
8,016 KB
testcase_06 AC 17 ms
7,912 KB
testcase_07 AC 16 ms
7,908 KB
testcase_08 AC 17 ms
8,028 KB
testcase_09 AC 16 ms
7,912 KB
testcase_10 AC 16 ms
8,060 KB
testcase_11 AC 16 ms
7,956 KB
testcase_12 AC 16 ms
8,012 KB
testcase_13 AC 16 ms
8,000 KB
testcase_14 AC 17 ms
7,952 KB
testcase_15 AC 16 ms
7,876 KB
testcase_16 AC 17 ms
7,984 KB
testcase_17 AC 16 ms
7,900 KB
testcase_18 AC 115 ms
7,848 KB
testcase_19 AC 148 ms
8,016 KB
testcase_20 AC 135 ms
7,956 KB
testcase_21 AC 92 ms
8,096 KB
testcase_22 AC 142 ms
7,916 KB
testcase_23 AC 89 ms
7,960 KB
testcase_24 AC 38 ms
7,960 KB
testcase_25 AC 145 ms
7,876 KB
testcase_26 AC 153 ms
7,884 KB
testcase_27 AC 119 ms
7,912 KB
testcase_28 AC 70 ms
8,548 KB
testcase_29 AC 159 ms
9,352 KB
testcase_30 AC 134 ms
9,284 KB
testcase_31 AC 60 ms
7,916 KB
testcase_32 AC 63 ms
7,960 KB
testcase_33 AC 156 ms
8,576 KB
testcase_34 AC 109 ms
8,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import sqrt

N = int(input())
count = 0
sList = []
for i in range(1,int(sqrt(N))+1):
    if N%i == 0:
        s1 = str(i)+str(N//i)
        s2 = str(N//i)+str(i)
        sList.append(s1)
        sList.append(s2)
sSetList = list(set(sList))
count = len(sSetList)
print(count)
0