| Problem | carpark |
|---|---|
| User | DuckyKayden |
| Submission Time | 2026-03-23 13:02:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
carpark.cpp: In function ‘int32_t main()’:
carpark.cpp:12:21: error: expected ‘,’ or ‘;’ before ‘count1’
12 | int sub_arrays = 0 count1 = 0;
| ^~~~~~
carpark.cpp:19:6: error: ‘count1’ was not declared in this scope; did you mean ‘count’?
19 | ++count1;
| ^~~~~~
| count
carpark.cpp:22:6: error: ‘count1’ was not declared in this scope; did you mean ‘count’?
22 | ++count1;
| ^~~~~~
| count
carpark.cpp:29:11: error: ‘count1’ was not declared in this scope; did you mean ‘count’?
29 | cout << count1; return 0;
| ^~~~~~
| count
carpark.cpp:33:4: error: ‘count1’ was not declared in this scope; did you mean ‘count’?
33 | count1 += gaps[i];
| ^~~~~~
| count
carpark.cpp:33:18: error: no match for ‘operator[]’ (operand types are ‘std::set<long long int>’ and ‘long long int’)
3