Problem | eatingparallelograms |
---|---|
User | avinash |
Submission Time | 2025-06-20 15:46:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:29:29: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in initialization
29 | int answer = max_element(maxPower.begin(), maxPower.end());
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| __gnu_cxx::__normal_iterator<int*, std::vector<int> >