Problem sandd
User dumgod
Submission Time 2025-03-14 17:57:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp:14:17: error: ‘P’ was not declared in this scope
14 | long long high =P, low=0;
| ^
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:19:13: error: ‘low’ was not declared in this scope; did you mean ‘pow’?
19 | low=P;
| ^~~
| pow
sandd.cpp:27:12: error: ‘low’ was not declared in this scope; did you mean ‘pow’?
27 | P=(low+high)/2;
| ^~~
| pow