QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#759290#7796. Axis-Aligned AreaZhaoZiLongCompile Error//C++98539b2024-11-18 00:09:092024-11-18 00:09:10

詳細信息

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]’