Problem party
User AndyChen
Submission Time 2026-08-23 19:35:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:26:18: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
26 | if (v[j] == o[i].first){
| ^
party.cpp:29:23: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
29 | else if (v[j] == o[i].second){
| ^