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

Compile Error

party.cpp: In function ‘int main()’:
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){
| ^