cheerleaders.cpp: In function 'int main()':
cheerleaders.cpp:32:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
32 | scanf("%d", &N);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
cheerleaders.cpp:33:45: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
33 | for (int i = 0; i < (1 << N); i++) scanf("%d", &A[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
cheerleaders.cpp:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
32 | scanf("%d", &N);
| ~~~~~^~~~~~~~~~
cheerleaders.cpp:33:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
33 | for (int i = 0; i < (1 << N); i++) scanf("%d", &A[i]);
| ~~~~~^~~~~~~~~~~~~