Problem carpark
User Daniel0liong
Submission Time 2024-02-07 17:28:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp: In function ‘int main()’:
carpark.cpp:31:22: error: expected ‘]’ before ‘;’ token
31 | while(nn[nn.size()-1;]!=1){
| ^
| ]
carpark.cpp:31:22: error: expected ‘)’ before ‘;’ token
31 | while(nn[nn.size()-1;]!=1){
| ~ ^
| )
carpark.cpp:31:23: error: expected primary-expression before ‘]’ token
31 | while(nn[nn.size()-1;]!=1){
| ^