books.cpp: In function 'void solve(int, int, long long int, int)':
books.cpp:26:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
26 | if(SUM(1 , K) > 2 * A) return assert(0) , impossible();
| ~~~~~~~~~~~^~~~~~~
books.cpp:27:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
27 | if(SUM(1 , K) >= A)
| ~~~~~~~~~~~^~~~
books.cpp:37:31: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
37 | if(SUM(1 , K - 1) + GET(md) >= A) r = md;
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
books.cpp:41:39: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
41 | if(r <= N && SUM(1 , K - 1) + GET(r) <= 2 * A)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
books.cpp:49:44: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
49 | if(SUM(1 , ln) + SUM(l - K + ln + 1 , l) >= A)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~