結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
16,128 KB
testcase_01 AC 26 ms
10,752 KB
testcase_02 WA -
testcase_03 AC 28 ms
10,752 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 29 ms
10,880 KB
testcase_08 AC 28 ms
10,752 KB
testcase_09 WA -
testcase_10 AC 29 ms
10,752 KB
testcase_11 WA -
testcase_12 AC 29 ms
10,752 KB
testcase_13 AC 29 ms
10,752 KB
testcase_14 AC 30 ms
10,880 KB
testcase_15 AC 36 ms
10,752 KB
testcase_16 AC 32 ms
10,624 KB
testcase_17 AC 27 ms
10,752 KB
testcase_18 AC 227 ms
10,752 KB
testcase_19 AC 311 ms
10,752 KB
testcase_20 AC 278 ms
10,880 KB
testcase_21 AC 194 ms
10,752 KB
testcase_22 AC 299 ms
10,752 KB
testcase_23 AC 203 ms
10,752 KB
testcase_24 AC 79 ms
10,752 KB
testcase_25 AC 308 ms
10,752 KB
testcase_26 WA -
testcase_27 AC 248 ms
10,752 KB
testcase_28 AC 1,877 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*=2
#if s==1:
 #   c-=1
print(c)
0