Problem | sort |
---|---|
User | asbx |
Submission Time | 2023-12-06 15:59:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sort.cpp: In function ‘int main()’:
sort.cpp:2:13: error: ‘signed’ specified with ‘long double’
2 | #define int signed long double
| ^~~~~~
sort.cpp:7:2: note: in expansion of macro ‘int’
7 | int arr[n];
| ^~~
sort.cpp:2:13: error: ‘signed’ specified with ‘long double’
2 | #define int signed long double
| ^~~~~~
sort.cpp:8:6: note: in expansion of macro ‘int’
8 | for(int i=0; i<n; i++){
| ^~~
sort.cpp:9:13: error: invalid types ‘long double [n][long double]’ for array subscript
9 | cin>>arr[i];
| ^
sort.cpp:2:13: error: ‘signed’ specified with ‘long double’
2 | #define int signed long double
| ^~~~~~
sort.cpp:12:6: note: in expansion of macro ‘int’
12 | for(int i=0; i<n-1; i++){
| ^~~
sort.cpp:13:14: error: invalid types ‘long double [n][long double]’ for array subscript
1