Problem lunchcombo
User kahchun
Submission Time 2023-11-14 09:27:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lunchcombo.cpp: In function ‘int getPrice(int)’:
lunchcombo.cpp:6:18: error: ‘demand’ was not declared in this scope
6 | long long qd = demand(mid), qs = supply(mid);
| ^~~~~~
lunchcombo.cpp:8:13: error: ‘qs’ was not declared in this scope; did you mean ‘qd’?
8 | if (qd == qs){
| ^~
| qd