amusementpark.cpp: In function 'int main()':
amusementpark.cpp:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int j=0;j<v.size();j++)
| ~^~~~~~~~~
amusementpark.cpp:21:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int k=j+1;k<v.size();k++)
| ~^~~~~~~~~
amusementpark.cpp:27:20: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
27 | for(int j=i-1&i;;j=j-1&i){
| ~^~
amusementpark.cpp:27:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
27 | for(int j=i-1&i;;j=j-1&i){
| ~^~