Main.cpp:4:55: warning: bad option '-f O2' to pragma 'optimize' [-Wpragmas]
4 | #pragma GCC optimize("O1, O2, O3, Ofast, unroll-loops")
| ^
Main.cpp:4:55: warning: bad option '-f O3' to pragma 'optimize' [-Wpragmas]
Main.cpp:4:55: warning: bad option '-f Ofast' to pragma 'optimize' [-Wpragmas]
Main.cpp:4:55: warning: bad option '-f unroll-loops' to pragma 'optimize' [-Wpragmas]
Main.cpp:24:37: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
24 | bool test_students(vector<bool> &msk) {
| ^
Main.cpp:24:37: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
Main.cpp:24:37: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
Main.cpp:24:37: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
In file included from /usr/include/c++/10/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:45,
from /usr/include/c++/10/ext/pb_ds/detail/container_base_dispatch.hpp:90,
from /usr/include/c++/10/ext/pb_ds/assoc_container.hpp:48,
from Main.cpp:6:
Main.cpp: In function 'bool test_students(std::vector<bool>&)':
Main.cpp:25:23: warning: comparison of integer expressions of different signedness: 'std::vector<bool>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | assert(msk.size() == N);
| ~~~~~~~~~~~^~~~
Main.cpp: At global scope:
Main.cpp:38:28: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
38 | vector<bool> find_positive() {
| ^
Main.cpp:38:28: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
Main.cpp:38:28: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
Main.cpp:38:28: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
Main.cpp:49:10: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
49 | int main() {
| ^
Main.cpp:49:10: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
Main.cpp:49:10: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
Main.cpp:49:10: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]