Problem eatcake
User YSH2020
Submission Time 2026-03-11 08:11:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatcake.cpp: In function ‘int main()’:
eatcake.cpp:25:19: error: too few arguments to function ‘long long int solve(long long int, long long int, long long int)’
25 | cout << solve(0,n);
| ^
eatcake.cpp:8:5: note: declared here
8 | int solve(int s, int e, int h) {
| ^~~~~