QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#218693#6309. Aqreucup-team1005Compile Error//C++14930b2023-10-18 17:08:382023-10-18 17:08:39

详细

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