QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#872628#9226. Game of GeniusesMaMengQiCompile Error//C++201.2kb2025-01-26 02:58:442025-01-26 02:58:44

Details

answer.code: In function ‘void solve()’:
answer.code:12:18: error: request for member ‘begin’ in ‘mat[i]’, which is of non-class type ‘long long int [60]’
   12 | #define all(x) x.begin(),x.end()
      |                  ^~~~~
answer.code:42:41: note: in expansion of macro ‘all’
   42 |         maior = max(maior, *min_element(all(mat[i])));
      |                                         ^~~
answer.code:12:28: error: request for member ‘end’ in ‘mat[i]’, which is of non-class type ‘long long int [60]’
   12 | #define all(x) x.begin(),x.end()
      |                            ^~~
answer.code:42:41: note: in expansion of macro ‘all’
   42 |         maior = max(maior, *min_element(all(mat[i])));
      |                                         ^~~