cheerleaders.cpp: In function 'void dfs(int, int, int)':
cheerleaders.cpp:16:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int i = 0; i < v2.size(); i++) {
| ~~^~~~~~~~~~~
cheerleaders.cpp: In function 'int main()':
cheerleaders.cpp:36:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
36 | scanf("%d", &N);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
cheerleaders.cpp:37:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
37 | for (int i = 0; i < (1 << N); i++) scanf("%d", &A[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
cheerleaders.cpp:36:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | scanf("%d", &N);
| ~~~~~^~~~~~~~~~
cheerleaders.cpp:37:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
37 | for (int i = 0; i < (1 << N); i++) scanf("%d", &A[i]);
| ~~~~~^~~~~~~~~~~~~