Problem | sandd |
---|---|
User | back2square1 |
Submission Time | 2023-12-04 18:29:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:8:18: error: ‘high_low’ was not declared in this scope
8 | int m = (high_low)>>1;
| ^~~~~~~~
sandd.cpp:9:43: error: ‘mid’ was not declared in this scope
9 | if (supply(m) >= demand(m)) low = mid;
| ^~~
sandd.cpp:10:21: error: ‘mid’ was not declared in this scope
10 | else high = mid;
| ^~~