結果
問題 |
No.491 10^9+1と回文
|
ユーザー |
![]() |
提出日時 | 2017-10-03 15:56:59 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 132 bytes |
コンパイル時間 | 341 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,248 KB |
最終ジャッジ日時 | 2024-11-16 05:45:04 |
合計ジャッジ時間 | 33,469 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 90 TLE * 13 |
ソースコード
n= int(input()) i=10**9+1 cnt=0 while i<=n: istr=str(i) if istr==istr[::-1]: cnt+=1 i+=(10**9+1) print(cnt)