QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#600889#9352. Highway Busesucup-team4583#Compile Error//C++239.9kb2024-09-29 19:49:492024-09-29 19:49:51

Details

answer.code:23:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   23 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
answer.code:30:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   30 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
answer.code:32:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   32 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
answer.code:46:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   46 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
answer.code:82:36: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   82 |         tup(int X=0,int Y=0,int Z=0)
      |                                    ^
answer.code:82:36: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:36: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:36: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:63: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   94 |         template<typename T> inline void write(T x,char ch=' ')
      |                                                               ^
answer.code:94:63: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:63: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:63: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:107:51: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  107 |         inline void write(const char*x,char ch=' ')
      |                                                   ^
answer.code:107:51: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:107:51: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:107:51: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:112:32: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  112 |         inline void read(char&s){do s=getchar();while(s=='\n'||s==' ');}
      |                                ^
answer.code:112:32: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:112:32: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:112:32: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:113:34: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  113 |         inline void read(char s[])
      |                                  ^
answer.code:113:34: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:113:34: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:113:34: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:51: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  121 |         template<typename T> inline void read(T &s)
      |                                                   ^
answer.code:121:51: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:51: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:51: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:129:25: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  129 |         inline void edl(){putchar('\n');}
      |                         ^
answer.code:129:25: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:129:25: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:129:25: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:130:74: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  130 |         template<typename T1,typename T2> inline void read(pair<T1,T2> &s){read(s.fi),read(s.se);}
      |                                                                          ^
answer.code:130:74: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:130:74: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:130:74: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:131:79: warning:...