結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
rocoder
|
| 提出日時 | 2017-08-10 02:07:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 454 bytes |
| コンパイル時間 | 132 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 17,956 KB |
| 最終ジャッジ日時 | 2024-10-12 00:36:55 |
| 合計ジャッジ時間 | 9,189 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 20 WA * 6 TLE * 1 -- * 5 |
ソースコード
# 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)
rocoder