Problem wires
User usernamehere
Submission Time 2025-10-27 15:14:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:12:18: error: ‘ch’ was not declared in this scope; did you mean ‘h’?
12 | h++; ch++;
| ^~
| h
wires.cpp:15:18: error: ‘cv’ was not declared in this scope; did you mean ‘v’?
15 | v++; cv++;
| ^~
| v
wires.cpp:18:7: error: ‘ch’ was not declared in this scope; did you mean ‘h’?
18 | exit(ch);
| ^~
| h