Main.cpp: In function 'int main()':
Main.cpp:60:12: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
60 | scanf("%d %lf %d", &n, &P, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:60:19: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
60 | scanf("%d %lf %d", &n, &P, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp: In function 'bool test_students(long long int, long long int)':
Main.cpp:25:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | scanf(" %c", &answer);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:60:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | scanf("%d %lf %d", &n, &P, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:75:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
75 | scanf(" %c", &verdict);
| ~~~~~^~~~~~~~~~~~~~~~~