cheerleaders.cpp: In lambda function:
cheerleaders.cpp:30:9: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
30 | if((1<<i)&&y){
| ~~^~~~
cheerleaders.cpp: In lambda function:
cheerleaders.cpp:42:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i=0; i<g.size(); i++){
| ~^~~~~~~~~
cheerleaders.cpp:51:16: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
51 | g[i]^=(1<<n-1);
| ~^~
cheerleaders.cpp: In function 'void f()':
cheerleaders.cpp:8:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | freopen("in.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
cheerleaders.cpp:9:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | freopen("out.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~