Problem citymapping
User hellothisisme
Submission Time 2025-12-26 21:43:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

citymapping.cpp: In function ‘void find_roads(int, int, int*, int*, int*)’:
citymapping.cpp:5:3: error: expected ‘,’ or ‘;’ before ‘for’
5 | for (int i = 0; i < N - 1; i++) {
| ^~~
citymapping.cpp:5:19: error: ‘i’ was not declared in this scope
5 | for (int i = 0; i < N - 1; i++) {
| ^