結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  okkokok | 
| 提出日時 | 2017-07-28 16:22:18 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 401 bytes | 
| コンパイル時間 | 248 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-10-10 04:54:34 | 
| 合計ジャッジ時間 | 6,957 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 WA * 7 | 
ソースコード
N = int(input())
num = 0
a = 1
d = []
while a**2 < N:
    if N%a == 0:
        num += 2
        
        b = str(a)
        c = str(N//a)
        
        if b+c == c+b:
            num -= 1
            
        if b in d:
            num -= 1
        if c in d:
            num -= 1
        
        d.append(b+c)
        d.append(c+b)
        
    a += 1
if a**2 == N:
    num += 1
    
print(num)
            
            
            
        