Main.cpp: In function 'int main()':
Main.cpp:30:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
30 | scanf("%d %lf %d", &N, &P, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:30:20: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
30 | scanf("%d %lf %d", &N, &P, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp: In function 'bool test_students(std::vector<bool>)':
Main.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf(" %c", &answer);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:30:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d %lf %d", &N, &P, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:41:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | scanf(" %c", &verdict);
| ~~~~~^~~~~~~~~~~~~~~~~