Problem lineup
User LXYSGP
Submission Time 2026-01-21 09:23:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lineup.cpp: In function ‘int main()’:
lineup.cpp:15:16: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘std::pair<int, int> [n]’
15 | stable_sort(a.begin(), a.end()); //smaller->bigger
| ^~~~~
lineup.cpp:15:27: error: request for member ‘end’ in ‘a’, which is of non-class type ‘std::pair<int, int> [n]’
15 | stable_sort(a.begin(), a.end()); //smaller->bigger
| ^~~