Problem | burgers |
---|---|
User | haydendoo |
Submission Time | 2023-02-20 18:46:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
burgers.cpp: In function ‘int main()’:
burgers.cpp:40:19: error: expected primary-expression before ‘}’ token
40 | } if(!can)}{r=mid-1; continue;}
| ^
burgers.cpp:40:23: error: ‘mid’ was not declared in this scope
40 | } if(!can)}{r=mid-1; continue;}
| ^~~
burgers.cpp:40:30: error: continue statement not within a loop
40 | } if(!can)}{r=mid-1; continue;}
| ^~~~~~~~
burgers.cpp:41:9: error: ‘high1’ was not declared in this scope; did you mean ‘highest’?
41 | high1 += mid; high2+=mid+1;
| ^~~~~
| highest
burgers.cpp:41:18: error: ‘mid’ was not declared in this scope
41 | high1 += mid; high2+=mid+1;
| ^~~
burgers.cpp:41:23: error: ‘high2’ was not declared in this scope; did you mean ‘highest’?
41 | high1 += mid; high2+=mid+1;