Problem wires
User Shadow1
Submission Time 2024-07-30 22:01:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:5:27: error: ‘p’ was not declared in this scope
5 | for(int i = 0, h=1, v=1; p<=n && v<=n;) {
| ^
wires.cpp:5:30: error: ‘n’ was not declared in this scope
5 | for(int i = 0, h=1, v=1; p<=n && v<=n;) {
| ^