結果
| 問題 | No.491 10^9+1と回文 |
| コンテスト | |
| ユーザー |
_____TAB_____
|
| 提出日時 | 2017-03-12 13:24:16 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 164 bytes |
| 記録 | |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 16,000 KB |
| 最終ジャッジ日時 | 2024-06-30 00:22:49 |
| 合計ジャッジ時間 | 2,649 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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): I = str(i) l = len(I) if i < 10 or I[:l//2] == I[:-l//2-(l+1)%2:-1]: ans += 1 print(ans)
_____TAB_____