Problem sort
User ToiletBrIcker
Submission Time 2024-06-19 11:45:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:16:20: error: ‘n’ was not declared in this scope
16 | std::sort(arr,arr+n,gangnumstyle)
| ^
sort.cpp:18:1: error: ‘z’ was not declared in this scope
18 | z]
| ^
sort.cpp:18:2: error: expected ‘}’ at end of input
18 | z]
| ^
sort.cpp:14:27: note: to match this ‘{’
14 | for (int i = 0;i < N;i++){
| ^
sort.cpp:18:2: error: expected ‘}’ at end of input
18 | z]
| ^
sort.cpp:10:11: note: to match this ‘{’
10 | int main(){
| ^