Problem cups
User Hengweezy
Submission Time 2024-01-31 16:35:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cups.cpp: In function ‘int main()’:
cups.cpp:34:8: error: no match for ‘operator[]’ (operand types are ‘std::set<int>’ and ‘int’)
34 | cup[j] += value;
| ^