shoes.cpp: In member function 'void ABI::update(ll, ll)':
shoes.cpp:15:7: warning: statement has no effect [-Wunused-value]
15 | for(a;a<sum.size();a+=(a&-a))sum[a]+=b;
| ^
shoes.cpp:15:10: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(a;a<sum.size();a+=(a&-a))sum[a]+=b;
| ~^~~~~~~~~~~
shoes.cpp: In member function 'll ABI::query(ll)':
shoes.cpp:19:7: warning: statement has no effect [-Wunused-value]
19 | for(a;a>0;a-=(a&-a))r+=sum[a];
| ^
shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<s.size();i++){
| ~^~~~~~~~~
shoes.cpp:35:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i=1;i<=s.size();i++){
| ~^~~~~~~~~~