| Problem | descsort |
|---|---|
| User | Dan64091 |
| Submission Time | 2025-11-16 23:37:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
descsort.cpp: In function ‘int main()’:
descsort.cpp:13:14: error: conflicting declaration ‘std::vector<int> bunch [N]’
13 | vector<int> bunch[N];
| ^~~~~
descsort.cpp:12:7: note: previous declaration as ‘int bunch [N]’
12 | int bunch[N];
| ^~~~~
descsort.cpp:21:14: error: request for member ‘begin’ in ‘outarr’, which is of non-class type ‘int [N]’
21 | sort(outarr.begin(),outarr.end());
| ^~~~~
descsort.cpp:21:29: error: request for member ‘end’ in ‘outarr’, which is of non-class type ‘int [N]’
21 | sort(outarr.begin(),outarr.end());
| ^~~