QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#650745#8932. Bingoucup-team4948#Compile Error//C++143.3kb2024-10-18 16:20:402024-10-18 16:21:25

Details

answer.code: In function ‘void solve()’:
answer.code:166:9: error: expected primary-expression before ‘/’ token
  166 |         /       if(x>=m)continue;
      |         ^
answer.code:166:17: error: expected primary-expression before ‘if’
  166 |         /       if(x>=m)continue;
      |                 ^~
answer.code:133:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  133 |         scanf("%s",s+1);m=read();
      |         ~~~~~^~~~~~~~~~