Problem sandd
User ARock
Submission Time 2023-12-30 10:35:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:10:17: error: ‘supply’ was not declared in this scope
10 | int s = supply(mid), d = demand(mid);
| ^~~~~~
sandd.cpp:12:17: error: ‘d’ was not declared in this scope
12 | if (s > d) high = mid;
| ^