Compile Error
In file included from /in/main/main.cpp:3:0: /in/detector.h: In member function 'void Detector::maxDetector(std::vector<int>)': /in/detector.h:25:37: error: 'max_element' was not declared in this scope vector<int>::iterator itMax=max_element(outarray.begin(), outarray.end()); ^~~~~~~~~~~ /in/detector.h:25:37: note: suggested alternative: 'max_align_t' vector<int>::iterator itMax=max_element(outarray.begin(), outarray.end()); ^~~~~~~~~~~ max_align_t
Information
- Submit By
- Type
- Submission
- Homework
- Final Exam
- Language
- C++
- Submit At
- 2020-08-07 17:05:44
- Judged At
- 2020-08-09 18:19:18
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes