Problem construct
User hwy
Submission Time 2023-06-27 00:45:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

construct.cpp: In function ‘int func(int, int, int, std::vector<std::pair<int, int> >)’:
construct.cpp:32:12: error: ‘totalGifts’ was not declared in this scope
32 | return totalGifts;
| ^~~~~~~~~~