Problem sort
User NeeNawAmbulance
Submission Time 2023-05-14 09:19:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:7:2: error: ‘str’ was not declared in this scope; did you mean ‘std’?
7 | str arr[n];
| ^~~
| std
sort.cpp:8:36: error: ‘arr’ was not declared in this scope
8 | for (int i =0; i < n; i++) cin >> arr[i];
| ^~~
sort.cpp:9:7: error: ‘arr’ was not declared in this scope
9 | sort(arr,arr+n);
| ^~~