Problem sort
User ToiletBrIcker
Submission Time 2024-06-19 11:47:13
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:17:26: error: expected ‘;’ before ‘)’ token
17 | for (int i = 0;i < N;i++){
| ^
| ;
sort.cpp:20:2: error: expected ‘}’ at end of input
20 | }
| ^
sort.cpp:10:11: note: to match this ‘{’
10 | int main(){
| ^