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

Compile Error

yogurt.cpp:4:10: error: ‘n’ was not declared in this scope
4 | int cost(n, a, b)
| ^
yogurt.cpp:4:13: error: ‘a’ was not declared in this scope
4 | int cost(n, a, b)
| ^
yogurt.cpp:4:16: error: ‘b’ was not declared in this scope
4 | int cost(n, a, b)
| ^
yogurt.cpp:4:17: error: expression list treated as compound expression in initializer [-fpermissive]
4 | int cost(n, a, b)
| ^