Problem party_noi
User ahrynn
Submission Time 2024-05-04 21:33:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party_noi.cpp:2:2: error: invalid preprocessing directive #incldue; did you mean #include?
2 | #incldue <algorithm>
| ^~~~~~~
| include
party_noi.cpp: In function ‘int main()’:
party_noi.cpp:20:12: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘long long int [n]’
20 | sort(a.begin(), a.end());
| ^~~~~
party_noi.cpp:20:23: error: request for member ‘end’ in ‘a’, which is of non-class type ‘long long int [n]’
20 | sort(a.begin(), a.end());
| ^~~
party_noi.cpp:20:5: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
20 | sort(a.begin(), a.end());
| ^~~~
| qsort