Problem cups
User PlayVoltz
Submission Time 2023-07-19 21:52:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cups.cpp: In function ‘int main()’:
cups.cpp:17:10: error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<int>’ and ‘int’)
17 | vect[i]+=update;
| ^
cups.cpp:29:10: error: no match for ‘operator[]’ (operand types are ‘std::unordered_set<int>’ and ‘int’)
29 | vect[i]+=update;
| ^