books.cpp: In function 'void solve(int, int, long long int, int)':
books.cpp:17:17: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int>, long long unsigned int>::value_type' {aka 'long long unsigned int'} and 'long long int' [-Wsign-compare]
17 | if(a[i] >= A && mid == -1) mid = i;
books.cpp:22:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
22 | if(sum+a[i] >= A && sum+a[i] <= 2*A) {
| ~~~~~~~~~^~~~
books.cpp:22:38: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
22 | if(sum+a[i] >= A && sum+a[i] <= 2*A) {
| ~~~~~~~~~^~~~~~