Problem | lunchbox |
---|---|
User | JcYong |
Submission Time | 2024-06-19 14:27:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:8:6: error: expected ‘;’ before ‘n’
8 | cin n;
| ^~
| ;
lunchbox.cpp:10:15: error: expected ‘;’ before ‘else’
10 | cout << "0"
| ^
| ;
11 | else if(n <= a){
| ~~~~
lunchbox.cpp:26:1: error: expected ‘}’ at end of input
26 | }
| ^
lunchbox.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^