Problem | graphcraft |
---|---|
User | maomao |
Submission Time | 2025-10-12 19:59:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
graphcraft.cpp:9:11: error: array bound is not an integer constant before ‘]’ token
9 | bool vst[L], instack[L];
| ^
graphcraft.cpp:9:23: error: array bound is not an integer constant before ‘]’ token
9 | bool vst[L], instack[L];
| ^
graphcraft.cpp: In function ‘bool dfs(int, std::vector<std::pair<int, int> >*)’:
graphcraft.cpp:11:2: error: ‘vst’ was not declared in this scope
11 | vst[u] = 1;
| ^~~
graphcraft.cpp:12:2: error: ‘instack’ was not declared in this scope; did you mean ‘sigstack’?
12 | instack[u] = 1;
| ^~~~~~~
| sigstack