Problem sandd
User usernamehere
Submission Time 2024-03-23 16:33:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:14:7: error: ‘supply’ was not declared in this scope
14 | if (supply(mid) < demand(mid)) {
| ^~~~~~
sandd.cpp:14:21: error: ‘demand’ was not declared in this scope
14 | if (supply(mid) < demand(mid)) {
| ^~~~~~