結果

問題 No.537 ユーザーID
ユーザー hedwig100hedwig100
提出日時 2020-05-29 20:23:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 195 ms / 2,000 ms
コード長 352 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-04-23 19:15:56
合計ジャッジ時間 3,847 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,752 KB
testcase_01 AC 30 ms
10,752 KB
testcase_02 AC 30 ms
10,880 KB
testcase_03 AC 26 ms
10,880 KB
testcase_04 AC 26 ms
10,752 KB
testcase_05 AC 26 ms
10,752 KB
testcase_06 AC 26 ms
10,752 KB
testcase_07 AC 27 ms
10,880 KB
testcase_08 AC 24 ms
10,752 KB
testcase_09 AC 27 ms
10,752 KB
testcase_10 AC 25 ms
10,752 KB
testcase_11 AC 25 ms
10,752 KB
testcase_12 AC 25 ms
10,752 KB
testcase_13 AC 25 ms
10,880 KB
testcase_14 AC 26 ms
10,752 KB
testcase_15 AC 25 ms
10,752 KB
testcase_16 AC 27 ms
10,752 KB
testcase_17 AC 26 ms
10,880 KB
testcase_18 AC 139 ms
10,752 KB
testcase_19 AC 176 ms
10,752 KB
testcase_20 AC 167 ms
10,752 KB
testcase_21 AC 116 ms
10,752 KB
testcase_22 AC 186 ms
10,752 KB
testcase_23 AC 120 ms
10,880 KB
testcase_24 AC 50 ms
10,752 KB
testcase_25 AC 174 ms
10,880 KB
testcase_26 AC 195 ms
10,752 KB
testcase_27 AC 151 ms
10,752 KB
testcase_28 AC 87 ms
11,136 KB
testcase_29 AC 189 ms
11,648 KB
testcase_30 AC 156 ms
11,648 KB
testcase_31 AC 77 ms
10,752 KB
testcase_32 AC 78 ms
10,752 KB
testcase_33 AC 192 ms
11,008 KB
testcase_34 AC 133 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(10000000)
MOD = 10 ** 9 + 7
INF = 10 ** 15

def main():
    N = int(input())
    X = set()
    for i in range(1,N + 1):
        if i*i > N:
            break
        if N%i == 0:
            x,y = str(N//i),str(i)
            X.add(x + y)
            X.add(y + x)
    print(len(X))
if __name__ == '__main__':
    main()
0