Problem potatosalad
User Lypho
Submission Time 2024-12-01 16:18:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int maxPotatoes(std::vector<int>, int)’:
potatosalad.cpp:10:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
10 | sort(potatoes.begin(),potatoes.end(),greater<int>());
| ^~~~
| qsort