books.cpp: In function 'void solve(int, int, long long int, int)':
books.cpp:33:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
33 | if (sum > 2 * A)
| ~~~~^~~~~~~
books.cpp:37:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
37 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~
books.cpp:37:29: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
37 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~~~~~
books.cpp:43:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
43 | if (sum < A)
| ~~~~^~~
books.cpp:45:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
45 | if (sum > 2 * A)
| ~~~~^~~~~~~
books.cpp:53:20: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
53 | if (ask(m) >= A) {
| ~~~~~~~^~~~
books.cpp:63:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
63 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~
books.cpp:63:29: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
63 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~~~~~