Problem sort
User wayne
Submission Time 2023-12-06 16:14:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int32_t main()’:
sort.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
sort.cpp:6:5: note: in expansion of macro ‘int’
6 | int n;
| ^~~
sort.cpp:6:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n;
| ^
| yn
sort.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
sort.cpp:8:5: note: in expansion of macro ‘int’
8 | int arr[n];
| ^~~
sort.cpp:8:9: error: ‘arr’ was not declared in this scope
8 | int arr[n];
| ^~~
sort.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
sort.cpp:10:9: note: in expansion of macro ‘int’
10 | for(int i=0;i&