Problem | foreveralone |
---|---|
User | chiefoggy |
Submission Time | 2024-02-23 00:54:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:12:15: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
12 | if (v.first != v.second){
| ^~~~~
foreveralone.cpp:12:26: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
12 | if (v.first != v.second){
| ^~~~~~
foreveralone.cpp:13:26: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘first’
13 | catFriends[v.first]++;
| ^~~~~
foreveralone.cpp:14:26: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘second’
14 | catFriends[v.second]++;
| ^~~~~~