Problem | squidzofrenzic |
---|---|
User | pinglynn |
Submission Time | 2023-11-09 14:39:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:30:14: error: expected initializer before ‘-’ token
30 | int high - max_no_of_crates;
| ^
squidzofrenzic.cpp:31:12: error: ‘high’ was not declared in this scope
31 | while (high - low > 1) {
| ^~~~
squidzofrenzic.cpp:32:17: error: expected initializer before ‘-’ token
32 | int mid - (high +low) / 2;
| ^
squidzofrenzic.cpp:33:24: error: ‘mid’ was not declared in this scope
33 | if (ispossible(mid)) high - mid;
| ^~~
squidzofrenzic.cpp:36:13: error: ‘high’ was not declared in this scope
36 | cout << high;
| ^~~~