Problem sandd
User John
Submission Time 2025-06-06 16:03:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:9:3: error: ‘mid’ was not declared in this scope
9 | mid = (low + high)/2;
| ^~~