QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#299868#6303. Inversionucup-team1564#Compile Error//C++141.6kb2024-01-07 12:40:542024-01-07 12:40:55

Details

answer.code: In function ‘bool ask(int, int)’:
answer.code:27:19: error: expected ‘;’ before ‘return’
   27 |     fflush(stdout)
      |                   ^
      |                   ;
   28 |     return asked[x][y] = read();
      |     ~~~~~~         
answer.code:27:11: warning: control reaches end of non-void function [-Wreturn-type]
   27 |     fflush(stdout)
      |     ~~~~~~^~~~~~~~