| Problem | potatosalad |
|---|---|
| User | dfsssssssssfsdfdssgdfs |
| Submission Time | 2026-02-19 19:02:12 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:15:33: error: request for member ‘begin’ in ‘potatoes’, which is of non-class type ‘int [a]’
15 | maxint = max_element(potatoes.begin(), potatoes.end());
| ^~~~~
potatosalad.cpp:15:51: error: request for member ‘end’ in ‘potatoes’, which is of non-class type ‘int [a]’
15 | maxint = max_element(potatoes.begin(), potatoes.end());
| ^~~
potatosalad.cpp:17:46: error: request for member ‘begin’ in ‘maxpotatoes’, which is of non-class type ‘int [b]’
17 | maxmashedpotatoes = accumulate(maxpotatoes.begin(),maxpotatoes.end());
| ^~~~~
potatosalad.cpp:17:66: error: request for member ‘end’ in ‘maxpotatoes’, which is of non-class type ‘int [b]’
17 | maxmashedpotatoes = accumulate(maxpotatoes.begin(),maxpotatoes.end());
|