| Problem | lineup |
|---|---|
| User | LXYSGP |
| Submission Time | 2026-01-21 09:18:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lineup.cpp: In function ‘int main()’:
lineup.cpp:4:12: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘first’
4 | #define ff first
| ^~~~~
lineup.cpp:13:13: note: in expansion of macro ‘ff’
13 | cin>>a[i].ff>>a[i].ss;
| ^~
lineup.cpp:5:12: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘second’
5 | #define ss second
| ^~~~~~
lineup.cpp:13:22: note: in expansion of macro ‘ss’
13 | cin>>a[i].ff>>a[i].ss;
| ^~
lineup.cpp:14:13: error: ‘y’ was not declared in this scope
14 | st.insert(y);
| ^
lineup.cpp:17:16: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘std::vector<std::pair<long long int, long long int> > [n]’
17 | stable_sort(a.begin(), a.end()); //