Problem | catlunch |
---|---|
User | Naman1312 |
Submission Time | 2023-11-23 14:32:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int maxSatisfaction(std::vector<int>&, int)’:
catlunch.cpp:11:5: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
11 | sort(satisfaction.begin(), satisfaction.end(), greater<int>());
| ^~~~
| qsort