foo.cc:22:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
22 | #pragma GCC optimize("-fwhole-program")
| ^
foo.cc:29:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
29 | #pragma GCC optimize("-fstrict-overflow")
| ^
foo.cc:31:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
31 | #pragma GCC optimize("-fcse-skip-blocks")
| ^
foo.cc:45:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
45 | #pragma GCC optimize("-funsafe-loop-optimizations")
| ^
foo.cc:56:17: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
56 | inline int read() {
| ^
foo.cc:56:17: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:56:17: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:56:17: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
65 | inline void add(int u, int e) { nxt[e] = head[u]; head[u] = e; }
| ^
foo.cc:65:29: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:65:29: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
67 | inline int index(int i, int j) { return (i - 1) * (k + 1) + j; }
| ^
foo.cc:67:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:67:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
69 | inline void bag(int *f, int A, int V) {
| ^
foo.cc:69:37: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:69:37: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
82 | inline void dfsL(int x) {
| ^
foo.cc:82:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:82:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
91 | inline void dfsR(int x, int sum) {
| ^
foo.cc:91:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:91:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
105 | int main() {
| ^
foo.cc:105:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:105:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务