結果

問題 No.537 ユーザーID
ユーザー Konton7
提出日時 2020-03-08 00:37:53
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-15 14:31:50
合計ジャッジ時間 4,270 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

ans = 0
n = int(input())
for i in range(1, int((n+1)**0.5+1)):
    if n % i == 0:
        s = str(i) + str(n // i)
        if s == s[::-1]:
            ans += 1
        else:
            ans += 2
print(ans)
0