Problem carpark
User Schzeey
Submission Time 2023-01-24 11:53:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp: In function ‘int main()’:
carpark.cpp:32:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
32 | ans += zeroCnt[i];
| ^~~
| abs
carpark.cpp:34:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
34 | cout << ans;
| ^~~
| abs