結果

問題 No.491 10^9+1と回文
ユーザー uuu
提出日時 2017-03-15 23:02:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
MLE  
実行時間 -
コード長 156 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 477,776 KB
最終ジャッジ日時 2024-07-04 01:25:48
合計ジャッジ時間 3,162 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other MLE * 1 -- * 102
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
L = [str(i) for i in range(1, N//(10**9 + 1) + 1)]
ans = 0
for i in L:
    if i == "".join(list(reversed(i))):
        ans += 1
print(ans)
0