| Problem | platonic29 |
|---|---|
| User | chickengoat |
| Submission Time | 2025-12-22 09:36:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
platonic29.cpp:6:18: error: array bound is not an integer constant before ‘]’ token
6 | bool visited[maxn];
| ^
platonic29.cpp:7:17: error: array bound is not an integer constant before ‘]’ token
7 | bool in_stk[maxn];
| ^
platonic29.cpp: In function ‘void dfs(ll)’:
platonic29.cpp:12:2: error: ‘visited’ was not declared in this scope
12 | visited[x]=in_stk[x]=1;
| ^~~~~~~
platonic29.cpp:12:13: error: ‘in_stk’ was not declared in this scope
12 | visited[x]=in_stk[x]=1;
| ^~~~~~
platonic29.cpp: In function ‘int main()’:
platonic29.cpp:30:7: error: ‘visited’ was not declared in this scope
30 | if(!visited[i]) {
| ^~~~~~~