QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#405192#6411. Classical FFT Problemucup-team387Compile Error//C++2012.4kb2024-05-05 13:33:432024-05-05 13:33:45

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:61:17: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   61 | ll qp(ll x, ll y) {
      |                 ^
answer.code:61:17: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:61:17: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:61:17: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:72:31: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   72 |     void NTT(poly& A, int type) { //下标在[0,limit)范围内,数组开四倍即可
      |                               ^
answer.code:72:31: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:72:31: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:72:31: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:36: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   87 |     poly operator + (poly a, poly b) {
      |                                    ^
answer.code:87:36: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:36: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:36: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:93:36: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   93 |     poly operator - (poly a, poly b) {
      |                                    ^
answer.code:93:36: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:93:36: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:93:36: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:40: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   99 |     void poly_mul_init(poly& a, poly& b) {
      |                                        ^
answer.code:99:40: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:40: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:40: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:105:33: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  105 |     poly poly_mul(poly a, poly b) { //原先的a,b不需要维持原状的话,可以加&
      |                                 ^
answer.code:105:33: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:105:33: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:105:33: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:115:33: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  115 |     poly poly_inv(poly& a, int n) { //n为答案阶数, %(x^(n+1))意义下
      |                                 ^
answer.code:115:33: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:115:33: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:115:33: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:135:31: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  135 |     poly poly_derivate(poly& a) { //求导
      |                               ^
answer.code:135:31: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:135:31: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:135:31: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:140:31: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  140 |     poly poly_integral(poly& a) { //积分
      |                               ^
answer.code:140:31: warning: bad option ‘-fstrict-overflow’ ...