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

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:27:18: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
27 | if (v[j] == o[i].first){
| ^
party.cpp:30:23: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
30 | else if (v[j] == o[i].second){
| ^