結果
問題 |
No.491 10^9+1と回文
|
ユーザー |
![]() |
提出日時 | 2017-07-19 23:16:26 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 158 bytes |
コンパイル時間 | 517 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 15,744 KB |
最終ジャッジ日時 | 2024-10-08 14:36:25 |
合計ジャッジ時間 | 3,360 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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((10**9+1)*i) if mystr==mystr[::-1]: ans_cnt+=1 print(ans_cnt)