結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
rocoder
|
| 提出日時 | 2017-08-10 02:03:01 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 462 bytes |
| コンパイル時間 | 148 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 17,568 KB |
| 最終ジャッジ日時 | 2024-10-12 00:35:53 |
| 合計ジャッジ時間 | 9,927 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 25 TLE * 2 -- * 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 < 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))
rocoder