Problem subgraphs
User yeeeeeting
Submission Time 2026-04-18 11:14:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘void f(int, int)’:
subgraphs.cpp:11:9: error: ‘g’ was not declared in this scope
11 | if (g[i][j]==0)
| ^
subgraphs.cpp:15:5: error: ‘g’ was not declared in this scope
15 | g[i][j]=0;
| ^
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:28:3: error: ‘g’ was not declared in this scope
28 | g[y][x] = 1;
| ^
subgraphs.cpp:37:7: error: ‘g’ was not declared in this scope
37 | if(g[i][j]!=0)
| ^