| Problem | lineup |
|---|---|
| User | LXYSGP |
| Submission Time | 2026-01-21 09:16:50 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lineup.cpp: In function ‘int main()’:
lineup.cpp:16:5: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘std::vector<std::pair<long long int, long long int> > [n]’
16 | a.push_back({x,y});
| ^~~~~~~~~
lineup.cpp:19: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]’
19 | stable_sort(a.begin(), a.end()); //smaller->bigger
| ^~~~~
lineup.cpp:19:27: error: request for member ‘end’ in ‘a’, which is of non-class type ‘std::vector<std::pair<long long int, long long int> > [n]’
19 | stable_sort(a.begin(), a.end()); //smaller->bigger
| ^~~
lineup.cpp:22:11: error: ‘class std::vector<std::pair<long long int, long long int> >’ has no member named ‘ss’
22 | mp[a[r].ss]++;
| ^~
lineup.cpp:23:12: error: ‘clas