Problem | descsort |
---|---|
User | impotato |
Submission Time | 2023-12-09 01:40:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
descsort.cpp: In function ‘int32_t main()’:
descsort.cpp:2:23: error: template argument 1 is invalid
2 | #define int long long int;
| ^~~
descsort.cpp:14:47: note: in expansion of macro ‘int’
14 | sort(h,h + (sizeof(h)/sizeof(h[0])),greater<int>());
| ^~~
descsort.cpp:14:50: error: expected primary-expression before ‘>’ token
14 | sort(h,h + (sizeof(h)/sizeof(h[0])),greater<int>());
| ^
descsort.cpp:14:52: error: expected primary-expression before ‘)’ token
14 | sort(h,h + (sizeof(h)/sizeof(h[0])),greater<int>());
| ^