cigle.cpp: In function 'int qry(int, int)':
cigle.cpp:11:25: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
11 | for(int j=y; j>=0; j-=j+1&~j)
| ~^~
cigle.cpp: In function 'int main()':
cigle.cpp:46:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int j=0, k=0, matches=0; j<prefsum.size(); j++){
| ~^~~~~~~~~~~~~~~
cigle.cpp:47:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | while(k+1<suffsum.size() and suffsum[k]<prefsum[j])
| ~~~^~~~~~~~~~~~~~~
cigle.cpp:57:25: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
57 | for(int k=i; k<n; k+=k+1&~k)for(int j=0; j<n; j++)
| ~^~
cigle.cpp:19:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
cigle.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d", &i);
| ~~~~~^~~~~~~~~~