結果

問題 No.491 10^9+1と回文
ユーザー kokoa1046kokoa1046
提出日時 2017-10-03 16:02:16
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 131 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 21,120 KB
最終ジャッジ日時 2024-11-16 05:48:16
合計ジャッジ時間 33,157 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 90 TLE * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

n= int(input())
x=n//(10**9+1)
cnt=0
for i in range(1,x+1):
    istr=str(i)
    if istr==istr[::-1]:
        cnt+=1
print(cnt)
    
0