結果
問題 |
No.491 10^9+1と回文
|
ユーザー |
![]() |
提出日時 | 2017-03-12 13:06:03 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 120 bytes |
コンパイル時間 | 80 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 17,436 KB |
最終ジャッジ日時 | 2024-06-30 00:21:28 |
合計ジャッジ時間 | 3,079 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 102 |
ソースコード
N = int(input()) m = 10**9+1 n = N // m ans = 0 for i in range(1,n+1): if str(i) == str(i)[::-1]: ans += 1 print(ans)