Problem yogurt
User R9q5P8
Submission Time 2025-11-14 14:48:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

yogurt.cpp: In function ‘int cost(int, int, int)’:
yogurt.cpp:11:1: error: a function-definition is not allowed here before ‘{’ token
11 | {
| ^
yogurt.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
yogurt.cpp:5:1: note: to match this ‘{’
5 | {
| ^