Main.cpp: In function 'std::vector<bool> find_positive()':
Main.cpp:41:5: error: 'vector' was not declared in this scope; did you mean 'std::vector'?
41 | vector<bool>tmp(N, 0);
| ^~~~~~
| std::vector
In file included from /usr/include/c++/10/vector:67,
from Main.cpp:4:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
Main.cpp:41:12: error: expected primary-expression before 'bool'
41 | vector<bool>tmp(N, 0);
| ^~~~
Main.cpp:43:9: error: 'tmp' was not declared in this scope; did you mean 'tm'?
43 | tmp[i] = 1;
| ^~~
| tm
Main.cpp: In function 'bool test_students(std::vector<bool>)':
Main.cpp:29:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | scanf(" %c", &answer);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:53:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | scanf("%d %lf %d", &N, &P, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:69:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
69 | scanf(" %c", &verdict);
| ~~~~~^~~~~~~~~~~~~~~~~