Problem sandd
User StarSparrowFox
Submission Time 2025-09-13 20:44:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:6:2: error: ‘start’ was not declared in this scope
6 | start = 0;
| ^~~~~
sandd.cpp:7:8: error: overloaded function with no contextual type information
7 | end = P;
| ^
sandd.cpp:18:16: error: overloaded function with no contextual type information
18 | end = mid - 1;
| ^