Problem paint
User MelodyPS
Submission Time 2023-09-23 16:33:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int main()’:
paint.cpp:22:5: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
22 | sort(cost, cost+n, greater<int>());
| ^~~~
| qsort