QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#759290#7796. Axis-Aligned AreaZhaoZiLongCompile Error//C++98539b2024-11-18 00:09:092024-11-18 00:09:10

Details

answer.code: In function ‘int maxEnclosedArea(int, int, int, int)’:
answer.code:8:21: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
    8 |     for (int area : areas) {
      |                     ^~~~~
answer.code:8:21: error: forming reference to reference type ‘int (&)[6]’