Problem | wires |
---|---|
User | Lzr30 |
Submission Time | 2025-03-20 19:32:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
wires.cpp: In function ‘void wire(int, int, int*)’:
wires.cpp:5:18: error: expected ‘,’ or ‘;’ before ‘for’
5 | #define FL1(i,n) for(int i=1; i<=n; i++)
| ^~~
wires.cpp:32:2: note: in expansion of macro ‘FL1’
32 | FL1(i,n){
| ^~~
wires.cpp:32:6: error: ‘i’ was not declared in this scope
32 | FL1(i,n){
| ^
wires.cpp:5:31: note: in definition of macro ‘FL1’
5 | #define FL1(i,n) for(int i=1; i<=n; i++)
| ^
wires.cpp:32:8: error: ‘n’ was not declared in this scope
32 | FL1(i,n){
| ^
wires.cpp:5:34: note: in definition of macro ‘FL1’
5 | #define FL1(i,n) for(int i=1; i<=n; i++)
| ^