QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#550380#9250. Max GCDucup-team4753#Compile Error//C++145.8kb2024-09-07 12:08:222024-09-07 12:08:22

Details

answer.code:22:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   22 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
answer.code:29:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   29 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
answer.code:31:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   31 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
answer.code:45:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   45 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
answer.code:68:16: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   68 | inline ll read(){
      |                ^
answer.code:68:16: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:68:16: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:68:16: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:23: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   82 | inline void write(ll x){
      |                       ^
answer.code:82:23: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:23: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:23: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:30: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   94 |     op(int _x, int _y, int _z) : x(_x), y(_y), z(_z){}
      |                              ^
answer.code:94:30: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:30: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:94:30: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:106:55: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  106 | void upd(int i, int v, int x = 1, int l = 1, int r = n)
      |                                                       ^
answer.code:106:55: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:106:55: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:106:55: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:56: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  121 | int get(int l, int r, int x = 1, int lx = 1, int rx = n)
      |                                                        ^
answer.code:121:56: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:56: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:121:56: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:131:10: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  131 | int main(){
      |          ^
answer.code:131:10: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:131:10: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:131:10: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code: In function ‘int main()’:
answer.code:173:58: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  173 |     sort(v.begin(), v.end(), [&](const op& u, const op& v){return u.x < v.x;});
      |                                                          ^
answer.code:173:58: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:173:58: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:173:58: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:179:62: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  179 |     sort(Q + 1, Q + 1 + q, [&](const query& u, const query& v) {return u.r < v.r;});
      |                                                              ^
answer.code:179:62: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:179:62: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:179:62: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
In file included from /usr/include/c++/13/string:43,
                 from /usr/include/c++/13/bitset:52,
         ...