Problem | sandd |
---|---|
User | LeonloveMc |
Submission Time | 2025-04-26 09:44:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:6:12: error: ‘demand’ was not declared in this scope
6 | if(demand(mid) > supply(mid))lo = mid + 1;
| ^~~~~~
sandd.cpp:6:26: error: ‘supply’ was not declared in this scope
6 | if(demand(mid) > supply(mid))lo = mid + 1;
| ^~~~~~
sandd.cpp:9:14: error: expected ‘;’ before ‘}’ token
9 | return lo
| ^
| ;
10 | }
| ~