結果

問題 No.537 ユーザーID
ユーザー hedwig100hedwig100
提出日時 2020-05-29 20:23:00
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 348 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 10,604 KB
実行使用メモリ 9,120 KB
最終ジャッジ日時 2023-08-05 22:54:21
合計ジャッジ時間 3,731 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,828 KB
testcase_01 AC 16 ms
7,888 KB
testcase_02 AC 16 ms
7,840 KB
testcase_03 AC 15 ms
7,820 KB
testcase_04 AC 16 ms
7,820 KB
testcase_05 AC 16 ms
7,832 KB
testcase_06 AC 16 ms
7,744 KB
testcase_07 AC 16 ms
7,832 KB
testcase_08 AC 16 ms
7,784 KB
testcase_09 WA -
testcase_10 AC 16 ms
7,828 KB
testcase_11 AC 16 ms
7,748 KB
testcase_12 AC 16 ms
7,760 KB
testcase_13 AC 16 ms
7,816 KB
testcase_14 AC 16 ms
7,884 KB
testcase_15 AC 16 ms
7,836 KB
testcase_16 AC 16 ms
7,808 KB
testcase_17 AC 17 ms
7,824 KB
testcase_18 AC 107 ms
7,824 KB
testcase_19 AC 136 ms
7,892 KB
testcase_20 AC 120 ms
7,892 KB
testcase_21 AC 84 ms
7,744 KB
testcase_22 AC 132 ms
7,816 KB
testcase_23 AC 82 ms
7,828 KB
testcase_24 AC 37 ms
7,796 KB
testcase_25 AC 132 ms
7,820 KB
testcase_26 AC 143 ms
7,740 KB
testcase_27 AC 110 ms
7,828 KB
testcase_28 AC 63 ms
8,436 KB
testcase_29 AC 144 ms
9,072 KB
testcase_30 AC 122 ms
9,120 KB
testcase_31 AC 57 ms
7,836 KB
testcase_32 AC 59 ms
7,844 KB
testcase_33 AC 146 ms
8,364 KB
testcase_34 AC 101 ms
7,884 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):
        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