Problem swords
User rolland
Submission Time 2026-02-19 20:40:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:25:10: error: conflicting declaration ‘auto it’
25 | auto it = max_element(def.begin(), def.end());
| ^~
swords.cpp:23:10: note: previous declaration as ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> > it’
23 | auto it = max_element(att.begin(), att.end());
| ^~