| Problem | party |
|---|---|
| User | AndyChen |
| Submission Time | 2026-08-23 19:35:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
party.cpp: In function ‘int main()’:
party.cpp:15:15: error: ‘class std::set<long long int>’ has no member named ‘push_back’
15 | v.push_back(two);
| ^~~~~~~~~
party.cpp:21:32: error: no matching function for call to ‘std::vector<std::pair<long long int, long long int> >::insert(<brace-enclosed initializer list>)’
21 | o.insert({one, two});
| ^
In file included from /usr/include/c++/9/vector:72,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from party.cpp:1:
/usr/include/c++/9/bits/vector.tcc:130:5: note: candidate: ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_T