Problem | carpark |
---|---|
User | Tonko |
Submission Time | 2025-06-06 22:14:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
carpark.cpp:4:30: error: expected initializer before ‘-’ token
4 | int N, S, car; long long sum - 0;
| ^
carpark.cpp: In function ‘int main()’:
carpark.cpp:33:9: error: ‘sum’ was not declared in this scope
33 | sum += gaps[i];
| ^~~
carpark.cpp:33:16: error: ‘gaps’ was not declared in this scope
33 | sum += gaps[i];
| ^~~~
carpark.cpp:35:28: error: ‘sum’ was not declared in this scope
35 | cout << cover.size() + sum;
| ^~~