Problem packingducks
User chiefoggy
Submission Time 2024-07-08 21:06:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

packingducks.cpp: In function ‘int solve()’:
packingducks.cpp:15:28: error: request for member ‘begin’ in ‘dp’, which is of non-class type ‘int [205]’
15 | return *max_element(dp.begin(), dp.end());
| ^~~~~
packingducks.cpp:15:40: error: request for member ‘end’ in ‘dp’, which is of non-class type ‘int [205]’
15 | return *max_element(dp.begin(), dp.end());
| ^~~