Problem carpark
User PerihelionfromAphelion
Submission Time 2026-03-07 11:00:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

carpark.cpp: In function ‘int main()’:
carpark.cpp:12:4: error: ‘currentsum’ was not declared in this scope
12 | currentsum++;
| ^~~~~~~~~~
carpark.cpp:17:14: error: ‘max_sum’ was not declared in this scope
17 | cout << n - max_sum;
| ^~~~~~~