QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#821182#619. 多项式求逆ucup-team4645#Compile Error//C++233.1kb2024-12-19 14:02:422024-12-19 14:02:42

Details

answer.code: In function ‘void init()’:
answer.code:25:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   25 |     Rep(i,0,n)read(a[i]);
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:25:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   25 |     Rep(i,0,n)read(a[i]);
      |         ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code: In function ‘void calrev(int, int)’:
answer.code:31:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   31 |     Rep(i,1,n-1)rev[i]=(rev[i>>1]>>1)|((i&1)<<len);
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:31:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   31 |     Rep(i,1,n-1)rev[i]=(rev[i>>1]>>1)|((i&1)<<len);
      |         ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code: In function ‘void NTT(int*, int)’:
answer.code:59:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   59 |     Rep(i,1,n-1)if(i<rev[i])swap(x[i],x[rev[i]]);
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:59:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   59 |     Rep(i,1,n-1)if(i<rev[i])swap(x[i],x[rev[i]]);
      |         ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code:72:27: error: ‘module’ was not declared in this scope; did you mean ‘modulo’?
   72 |                 x[j+k+kk]=module(x[j+k],mod-t);
      |                           ^~~~~~
      |                           modulo
answer.code:80:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   80 |         Rep(i,0,n)x[i]=modu(1ll*x[i]*inv);
      |             ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:80:13: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   80 |         Rep(i,0,n)x[i]=modu(1ll*x[i]*inv);
      |             ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code: In function ‘void mul(int*, int*)’:
answer.code:88:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   88 |     Rep(i,0,n>>1)X[i]=x[i],Y[i]=y[i];
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:88:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   88 |     Rep(i,0,n>>1)X[i]=x[i],Y[i]=y[i];
      |         ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code:90:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   90 |     Rep(i,0,n)X[i]=modu(1ll*X[i]*Y[i]);
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:90:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   90 |     Rep(i,0,n)X[i]=modu(1ll*X[i]*Y[i]);
      |         ^
answer.code:4:43: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                           ^
answer.code:92:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   92 |     Rep(i,0,n)x[i]=X[i];
      |         ^
answer.code:4:37: note: in definition of macro ‘Rep’
    4 | #define Rep(i,a,b) for(register int i=(a),i##end=(b);i<=i##end;++i)
      |                                     ^
answer.code:92:9: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
   ...