Main.cpp:36:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
36 | #pragma GCC optimize ("03,unroll-lopps")
| ^
Main.cpp:49:42: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
49 | bool test_students(std::vector<bool> mask) {
| ^
Main.cpp:70:33: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
70 | std::vector<bool> find_positive() {
| ^
Main.cpp: In function 'std::vector<bool> find_positive()':
Main.cpp:75:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
75 | ans[i]=test_students(qry);
| ^~~
| abs
Main.cpp: At global scope:
Main.cpp:80:10: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
80 | int main() {
| ^
Main.cpp: In function 'bool test_students(std::vector<bool>)':
Main.cpp:60:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
60 | scanf(" %c", &answer);
| ~~~~~^~~~~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:82:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
82 | scanf("%d %lf %d", &N, &P, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:98:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
98 | scanf(" %c", &verdict);
| ~~~~~^~~~~~~~~~~~~~~~~