結果
問題 |
No.491 10^9+1と回文
|
ユーザー |
![]() |
提出日時 | 2017-07-19 23:19:50 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 148 bytes |
コンパイル時間 | 273 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 15,744 KB |
最終ジャッジ日時 | 2024-10-08 14:36:32 |
合計ジャッジ時間 | 2,810 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 102 |
ソースコード
N=input() kosuu=int(N)//(10**9+1) ans_cnt=0 for i in range(1,kosuu+1): mystr=str(i) if mystr==mystr[::-1]: ans_cnt+=1 print(ans_cnt)