Problem sandd
User meowmeow
Submission Time 2023-06-12 21:59:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:8:33: error: break statement not within loop or switch
8 | if (supply(mid) == demand(mid)){break;}
| ^~~~~
sandd.cpp:9:10: error: ‘suply’ was not declared in this scope; did you mean ‘supply’?
9 | else if (suply(mid) > demand(mid))
| ^~~~~
| supply