Problem showertheduck
User dsyz
Submission Time 2023-12-30 10:31:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

showertheduck.cpp: In function ‘int main()’:
showertheduck.cpp:40:21: error: ‘ld’ was not declared in this scope; did you mean ‘ll’?
40 | ll need = ceil(ld(X[ptr] - water[ptr]) / ld(water[ptr - 1]));
| ^~
| ll