Problem | competition |
---|---|
User | cobnet |
Submission Time | 2023-01-29 19:22:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp:3:20: error: missing terminating > character
3 | #include <algorithm
| ^
competition.cpp: In function ‘int main()’:
competition.cpp:16:26: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
16 | cin >> studentscore[i].first;
| ^~~~~
competition.cpp:19:26: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
19 | cin >> studentscore[i].second;
| ^~~~~~
competition.cpp:22:24: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
22 | scoredifferential[i].first = studentscore[i].first - studentscore[i].second;
| ^~~~~
competition.cpp:22:48: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
22 | scoredifferential[i].first = student