結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
17,692 KB
testcase_01 AC 26 ms
10,752 KB
testcase_02 AC 28 ms
10,752 KB
testcase_03 AC 26 ms
10,880 KB
testcase_04 AC 25 ms
10,752 KB
testcase_05 AC 23 ms
10,880 KB
testcase_06 AC 25 ms
10,752 KB
testcase_07 AC 25 ms
10,752 KB
testcase_08 AC 24 ms
10,752 KB
testcase_09 AC 25 ms
10,880 KB
testcase_10 AC 24 ms
10,752 KB
testcase_11 AC 24 ms
10,752 KB
testcase_12 AC 25 ms
10,752 KB
testcase_13 AC 24 ms
10,752 KB
testcase_14 AC 25 ms
10,752 KB
testcase_15 AC 23 ms
10,752 KB
testcase_16 AC 25 ms
10,752 KB
testcase_17 AC 25 ms
10,752 KB
testcase_18 AC 209 ms
10,880 KB
testcase_19 AC 275 ms
10,880 KB
testcase_20 AC 235 ms
10,752 KB
testcase_21 AC 169 ms
10,752 KB
testcase_22 AC 259 ms
10,752 KB
testcase_23 AC 177 ms
10,880 KB
testcase_24 AC 64 ms
10,752 KB
testcase_25 AC 263 ms
10,752 KB
testcase_26 AC 284 ms
10,752 KB
testcase_27 AC 218 ms
10,752 KB
testcase_28 AC 1,809 ms
11,136 KB
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 < c and k[j]!=L[m]:
                m+=1
            if m==c:
                L.append(k[j])
                c+=1
  #      print(c)
    i+=1
if i*i==N:
    L.append(str(i))
    c+=1
#c*=2
#if s==1:
 #   c-=1
print(c)
0