QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#613674#9435. Welcome to NPCAPCucup-team3537#Compile Error//C++236.5kb2024-10-05 14:27:172024-10-05 14:27:35

Details

answer.code:26:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   26 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
answer.code:33:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   33 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
answer.code:35:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   35 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
answer.code:49:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   49 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
answer.code:67:37: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   67 | Matrix multiply(Matrix& A, Matrix& B) {
      |                                     ^
answer.code:67:37: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:67:37: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:67:37: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:33: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   82 | Matrix matrix_pow(Matrix a, LL b) {
      |                                 ^
answer.code:82:33: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:33: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:82:33: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:98:10: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   98 | int main() {
      |          ^
answer.code:98:10: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:98:10: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:98:10: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:58:13: error: ‘::main’ must return ‘int’
   58 | #define int LL
      |             ^~
answer.code:98:1: note: in expansion of macro ‘int’
   98 | int main() {
      | ^~~