| Problem | lineup |
|---|---|
| User | LXYSGP |
| Submission Time | 2026-01-21 09:18:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lineup.cpp: In function ‘int main()’:
lineup.cpp:11:13: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘first’
11 | cin>>a[i].first>>a[i].second;
| ^~~~~
lineup.cpp:11:25: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘second’
11 | cin>>a[i].first>>a[i].second;
| ^~~~~~
lineup.cpp:12:13: error: ‘y’ was not declared in this scope
12 | st.insert(y);
| ^
lineup.cpp:15: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]’
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::vector<std::pair<long long int, long long int