QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#218693#6309. Aqreucup-team1005Compile Error//C++14930b2023-10-18 17:08:382023-10-18 17:08:39

Details

answer.code: In function ‘void work()’:
answer.code:19:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
   19 | }ans= 0; for (int i=0;i<n;i++)for(int j=0;j<m;j++) ans += a[i][j];
      |  ^~~
      |  abs