Problem weddingcoins
User AltheaZ
Submission Time 2023-07-06 14:04:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int calc(std::vector<int>, int)’:
weddingcoins.cpp:11:34: error: expected ‘;’ before ‘}’ token
11 | return calc(coin,x-=coin[val])
| ^
| ;
12 | }
| ~