Problem competition
User Henries
Submission Time 2024-10-05 18:08:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘long long int solve(std::vector<long long int>, long long int)’:
competition.cpp:6:36: error: ‘std::vector<long long int>::iterator’ {aka ‘class __gnu_cxx::__normal_iterator<long long int*, std::vector<long long int> >’} has no member named ‘v’
6 | auto max = max_element(v.begin().v.end());
| ^