candies.cpp:1:55: warning: bad option '-f O2' to pragma 'optimize' [-Wpragmas]
1 | #pragma GCC optimize("O1, O2, O3, Ofast, unroll-loops")
| ^
candies.cpp:1:55: warning: bad option '-f O3' to pragma 'optimize' [-Wpragmas]
candies.cpp:1:55: warning: bad option '-f Ofast' to pragma 'optimize' [-Wpragmas]
candies.cpp:1:55: warning: bad option '-f unroll-loops' to pragma 'optimize' [-Wpragmas]
In file included from candies.cpp:13:
candies.h:4:75: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
4 | std::vector<int> r, std::vector<int> v);
| ^
candies.h:4:75: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
candies.h:4:75: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]
candies.cpp:15:45: warning: bad option '-f O2' to attribute 'optimize' [-Wattributes]
15 | vi distribute_candies(vi C, vi L, vi R, vi V) {
| ^
candies.cpp:15:45: warning: bad option '-f O3' to attribute 'optimize' [-Wattributes]
candies.cpp:15:45: warning: bad option '-f Ofast' to attribute 'optimize' [-Wattributes]
candies.cpp:15:45: warning: bad option '-f unroll-loops' to attribute 'optimize' [-Wattributes]