結果

問題 No.537 ユーザーID
ユーザー rocoderrocoder
提出日時 2017-08-10 02:03:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 462 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 18,080 KB
最終ジャッジ日時 2024-04-20 05:35:20
合計ジャッジ時間 9,604 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
17,820 KB
testcase_01 AC 26 ms
10,752 KB
testcase_02 AC 24 ms
10,752 KB
testcase_03 AC 24 ms
10,752 KB
testcase_04 AC 24 ms
10,752 KB
testcase_05 AC 25 ms
10,752 KB
testcase_06 AC 24 ms
10,752 KB
testcase_07 AC 23 ms
10,752 KB
testcase_08 AC 23 ms
10,880 KB
testcase_09 AC 23 ms
10,752 KB
testcase_10 AC 24 ms
10,752 KB
testcase_11 AC 24 ms
10,752 KB
testcase_12 AC 24 ms
10,752 KB
testcase_13 AC 24 ms
10,752 KB
testcase_14 AC 25 ms
10,880 KB
testcase_15 AC 24 ms
10,752 KB
testcase_16 AC 24 ms
10,752 KB
testcase_17 AC 24 ms
10,880 KB
testcase_18 AC 214 ms
10,880 KB
testcase_19 AC 292 ms
10,752 KB
testcase_20 AC 270 ms
10,752 KB
testcase_21 AC 168 ms
10,880 KB
testcase_22 AC 273 ms
10,752 KB
testcase_23 AC 185 ms
10,752 KB
testcase_24 AC 67 ms
10,752 KB
testcase_25 AC 263 ms
10,752 KB
testcase_26 AC 281 ms
10,752 KB
testcase_27 AC 214 ms
10,752 KB
testcase_28 TLE -
testcase_29 TLE -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

# your code goes here
#537 userid
N=int(input())
i=1
c=0
s=0
L=[]
while i*i<N:
    if N%i==0:
        i1=N//i
        k=["",""]
        k[0]=str(i)+str(i1)
        k[1]=str(i1)+str(i)
        for j in range(2):
            m=0
            while m < len(L) and k[j]!=L[m]:
                m+=1
            if m==len(L):
                L.append(k[j])
     #   c+=1
  #      print(c)
    i+=1
if i*i==N:
    L.append(str(i))
#c*=2
#if s==1:
 #   c-=1
print(len(L))
0