Problem swords
User G
Submission Time 2024-02-05 20:12:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:10:2: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
10 | sort(swords,swords+n);
| ^~~~
| qsort
swords.cpp:18:15: error: expected ‘}’ at end of input
18 | cout << count;
| ^
swords.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^