Problem sort2
User OSoverspike
Submission Time 2025-11-14 01:12:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort2.cpp: In function ‘int main()’:
sort2.cpp:11:18: error: request for member ‘begin’ in ‘input’, which is of non-class type ‘int [7500]’
11 | std::sort(input.begin(), input.begin()+n, std::greater<int>());
| ^~~~~
sort2.cpp:11:33: error: request for member ‘begin’ in ‘input’, which is of non-class type ‘int [7500]’
11 | std::sort(input.begin(), input.begin()+n, std::greater<int>());
| ^~~~~