結果

問題 No.537 ユーザーID
ユーザー rocoderrocoder
提出日時 2017-08-10 02:10:07
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 463 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2024-10-12 00:37:57
合計ジャッジ時間 9,182 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26 TLE * 1 -- * 5
権限があれば一括ダウンロードができます

ソースコード

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