Problem sort
User LXYSGP
Submission Time 2024-11-23 11:21:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp:4:1: error: ‘type_t’ does not name a type; did you mean ‘wctype_t’?
4 | type_t a[1000100];
| ^~~~~~
| wctype_t
sort.cpp: In function ‘int main()’:
sort.cpp:9:10: error: ‘a’ was not declared in this scope
9 | cin >> a[i];
| ^
sort.cpp:11:14: error: ‘a’ was not declared in this scope
11 | stable_sort(a + 1, a + n + 1);
| ^