QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#326894#6715. Масив i ще кiлька масивiвHuangHanShengCompile Error//C++23628b2024-02-14 13:25:492024-02-14 13:26:01

Details

answer.code: In function ‘void solve()’:
answer.code:13:28: error: ‘m’ was not declared in this scope
   13 |         for(int j = 1; j < m; ++j) {
      |                            ^
answer.code:14:22: error: ‘i’ was not declared in this scope
   14 |                 if(a[i][j] == a[i][j-1]) {
      |                      ^