QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872626#9226. Game of GeniusesHuangHanShengCompile Error//C++201.2kb2025-01-26 02:57:412025-01-26 02:57:53

Details

answer.code: In function ‘void solve()’:
answer.code:41:20: error: ‘mat’ was not declared in this scope
   41 |             cin >> mat[i][j];
      |                    ^~~
answer.code:42:45: error: ‘mat’ was not declared in this scope
   42 |         maior = max(maior, *min_element(all(mat[i])));
      |                                             ^~~
answer.code:12:16: note: in definition of macro ‘all’
   12 | #define all(x) x.begin(),x.end()
      |                ^