Problem election
User Pan
Submission Time 2023-12-12 18:33:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

election.cpp: In function ‘int main()’:
election.cpp:60:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
60 | sort(discrete.begin(), discrete.end());
| ^~~~
| qsort
election.cpp:61:17: error: ‘unique’ was not declared in this scope
61 | discrete.erase(unique(discrete.begin(), discrete.end()), discrete.end());
| ^~~~~~