Problem | adjmatrix |
---|---|
User | christal |
Submission Time | 2023-12-27 15:20:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:17:4: error: ‘starti’ was not declared in this scope; did you mean ‘static’?
17 | g[starti][startj] = true;
| ^~~~~~
| static
adjmatrix.cpp:17:12: error: ‘startj’ was not declared in this scope
17 | g[starti][startj] = true;
| ^~~~~~
adjmatrix.cpp:18:30: error: a function-definition is not allowed here before ‘{’ token
18 | void dfs(int curi, int curj) {
| ^