rack.cpp: In function 'int main()':
rack.cpp:33:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
33 | scanf("%d %d", &n, &k);
| ~^ ~~
| | |
| int* ll* {aka long long int*}
| %lld
rack.cpp:33:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
33 | scanf("%d %d", &n, &k);
| ~^ ~~
| | |
| int* ll* {aka long long int*}
| %lld
rack.cpp:34:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
34 | printf("%d\n", test(n, k));
| ~^ ~~~~~~~~~~
| | |
| int ll {aka long long int}
| %lld
rack.cpp:33:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | scanf("%d %d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~~