Problem carpark
User Duk168
Submission Time 2024-10-26 10:46:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp: In function ‘int main()’:
carpark.cpp:15:21: error: ‘tew’ was not declared in this scope
15 | while(c == 0 && tew < a-1){
| ^~~
carpark.cpp:21:12: error: expected primary-expression before ‘=’ token
21 | if(c = =1){
| ^
carpark.cpp:22:8: error: ‘yip’ was not declared in this scope; did you mean ‘yippe’?
22 | yip=1;
| ^~~
| yippe
carpark.cpp:25:9: error: ‘vb’ was not declared in this scope; did you mean ‘v’?
25 | vb.push_back(1);
| ^~
| v
carpark.cpp:26:9: error: ‘yip’ was not declared in this scope; did you mean ‘yippe’?
26 | yip=0;
| ^~~
| yippe
carpark.cpp:29:9: error: ‘vb’ was not declared in this scope; did you mean ‘v’?
29 | vb[vb.size()-1]++;
| ^~
| v
carpark.cpp:38:13: error: ‘vb’ was not