QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#52715#2213. KnightLiyanx#Compile Error//C++1.8kb2022-10-04 14:33:042022-10-04 14:33:07

Details

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