QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#474272#3098. Ancient Machineegypt_ioi2024_01Compile Error//C++231.5kb2024-07-12 17:02:282024-07-12 17:02:28

Details

grader_Anna.cpp: In function ‘int main()’:
grader_Anna.cpp:67:16: warning: range-based ‘for’ loops only available with ‘-std=c++11’ or ‘-std=gnu++11’
   67 |   for (int x : send_array)
      |                ^~~~~~~~~~
grader_Anna.cpp:67:16: error: forming reference to reference type ‘std::vector<int>&’