QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#52715#2213. KnightLiyanx#Compile Error//C++1.8kb2022-10-04 14:33:042022-10-04 14:33:07

详细

answer.code: In function ‘int main()’:
answer.code:72:25: error: expected primary-expression before ‘if’
   72 |                         if(vis[vv.x][vv.y])continue;
      |                         ^~
answer.code:32:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   32 |         scanf("%d%d%d%d",&n,&m,&r,&c);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~