books.cpp: In function 'void solve(int, int, long long int, int)':
books.cpp:12:24: error: 'skim' was not declared in this scope
12 | A[i] = skim(i);
| ^~~~
books.cpp:15:23: error: 'impossible' was not declared in this scope
15 | if(sum > 2*X) impossible();
| ^~~~~~~~~~
books.cpp:19:33: error: 'skim' was not declared in this scope
19 | if(sum - A[K] + skim(mid) <= 2 * X) l = mid;
| ^~~~
books.cpp:26:14: error: 'skim' was not declared in this scope
26 | sum+=skim(l - i);
| ^~~~
books.cpp:29:30: error: 'answer' was not declared in this scope
29 | if(sum >= X) answer(vector<int>(all(dq)));
| ^~~~~~
books.cpp:31:9: error: 'impossible' was not declared in this scope
31 | impossible();
| ^~~~~~~~~~