| Problem | carpark |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-03-07 11:00:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
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;
| ^~~~~~~
carpark.cpp:19:1: error: expected ‘}’ at end of input
19 | }
| ^
carpark.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^