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:65:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
65 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~
books.cpp:65:29: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
65 | if (sum >= A && sum <= 2 * A) {
| ~~~~^~~~~~~~