QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299868#6303. Inversionucup-team1564#Compile Error//C++141.6kb2024-01-07 12:40:542024-01-07 12:40:55

详细

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)
      |     ~~~~~~^~~~~~~~