Problem | competition |
---|---|
User | cobnet |
Submission Time | 2023-01-29 19:41:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp: In function ‘int main()’:
competition.cpp:29:23: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
29 | k = studentscore[i].first - studentscore[i].second;
| ^~~~~
competition.cpp:29:47: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
29 | k = studentscore[i].first - studentscore[i].second;
| ^~~~~~
competition.cpp:30:22: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
30 | if(studentscore[i].first > studentscore[i].second){ l = studentscore[i].first;}
| ^~~~~
competition.cpp:30:46: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
30 | if(studentscore[i].first > studentscore[i].second){ l = studentscore[i].first;}
|