Problem | sort |
---|---|
User | asbx |
Submission Time | 2023-12-06 15:59:42 |
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:5:2: note: in expansion of macro ‘int’
5 | int n;
| ^~~
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:7:10: error: conversion from ‘long double’ to ‘long unsigned int’ in a converted constant expression
7 | int arr[n];
| ^
sort.cpp:7:10: error: could not convert ‘n’ from ‘long double’ to ‘long unsigned int’
sort.cpp:7:10: error: size of array ‘arr’ has non-integral type ‘long double’
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’