Problem grassplant
User PlayVoltz
Submission Time 2023-10-05 16:36:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

grassplant.cpp:56:23: error: array bound is not an integer constant before ‘]’ token
56 | vector<int> graph[MAXN];
| ^
grassplant.cpp:57:15: error: array bound is not an integer constant before ‘]’ token
57 | int depth[MAXN], subtree[MAXN], par[MAXN], head[MAXN], in[MAXN], out[MAXN];
| ^
grassplant.cpp:57:30: error: array bound is not an integer constant before ‘]’ token
57 | int depth[MAXN], subtree[MAXN], par[MAXN], head[MAXN], in[MAXN], out[MAXN];
| ^
grassplant.cpp:57:41: error: array bound is not an integer constant before ‘]’ token
57 | int depth[MAXN], subtree[MAXN], par[MAXN], head[MAXN], in[MAXN], out[MAXN];
| ^
grassplant.cpp:57:53: error: array bound is not an integer constant before ‘]’ token
57 | int depth[MAXN], subtree[MAXN], par[MAXN], head[MAXN], in[MAXN], out[MAXN];
|