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:77:17: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
77 | inline int read()
| ^
foo.cc:77:17: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:77:17: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:77:17: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:106:32: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
106 | void build(hlydl *o,int l,int r)
| ^
foo.cc:106:32: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:106:32: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:106:32: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:115:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
115 | void mdf1(hlydl *o,int l,int r,int x,int k)
| ^
foo.cc:115:43: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:115:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:115:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:127:49: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
127 | void mdf2(hlydl *o,int l,int r,int x,int y,int k)
| ^
foo.cc:127:49: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:127:49: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:127:49: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:139:41: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
139 | int qy1(hlydl *o,int l,int r,int x,int y)
| ^
foo.cc:139:41: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:139:41: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:139:41: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:148:35: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
148 | int qy2(hlydl *o,int l,int r,int x)
| ^
foo.cc:148:35: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:148:35: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:148:35: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:157:22: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
157 | void getr(int x,int S)
| ^
foo.cc:157:22: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:157:22: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:157:22: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:173:42: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
173 | friend bool operator <(hlydll x,hlydll y)
| ^
foo.cc:173:42: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:173:42: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:173:42: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:181:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
181 | void add1(int x,int op)
| ^
foo.cc:181:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:181:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:181:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:197:30: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
197 | void add2(int x,int lc,int op)
| ^
foo.cc:197:30: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:197:30: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:197:30: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:214:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
214 | void chk1(int x,int lc)
| ^
foo.cc:214:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:214:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:214:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:236:16: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
236 | void chk2(int x)
| ^
foo.cc:236:16: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:236:16: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:236:16: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:253:15: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
253 | void ins(int c)
| ^
foo.cc:253:15: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:253:15: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:253:15: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:279:23: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
279 | void solve(int x,int S)
| ^
foo.cc:279:23: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:279:23: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:279:23: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:347:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
347 | int main()
| ^
foo.cc:347:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:347:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:347:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'int main()':
foo.cc:349:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
349 | scanf("%s",s+1);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务