Problem lightningrod
User samvar0907
Submission Time 2023-12-31 17:05:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In function ‘int gw(int, const std::vector<int>&)’:
lightningrod.cpp:7:28: error: ‘max_element’ is not a member of ‘std’; did you mean ‘tuple_element’?
7 | auto maxElement = std::max_element(H.begin(), H.end());
| ^~~~~~~~~~~
| tuple_element