foo.cc:28:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
28 | #pragma GCC optimize("-fwhole-program")
| ^
foo.cc:35:41: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
35 | #pragma GCC optimize("-fstrict-overflow")
| ^
foo.cc:37:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
37 | #pragma GCC optimize("-fcse-skip-blocks")
| ^
foo.cc:51:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
51 | #pragma GCC optimize("-funsafe-loop-optimizations")
| ^
foo.cc:68:27: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
68 | inline int Min(int x,int y){
| ^
foo.cc:68:27: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:68:27: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:68:27: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:71:27: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
71 | inline int Max(int x,int y){
| ^
foo.cc:71:27: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:71:27: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:71:27: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:74:27: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
74 | inline bool check(dian old){
| ^
foo.cc:74:27: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:74:27: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:74:27: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:120:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
120 | int main(){
| ^
foo.cc:120:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:120:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:120:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'int main()':
foo.cc:122:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
122 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:124:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
124 | scanf("%s",str[i]+1);
| ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务