Problem | oranges2 |
---|---|
User | chenweilian |
Submission Time | 2023-07-16 18:40:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oranges2.cpp:64:11: error: ‘MAXN’ was not declared in this scope
64 | vpii tree[MAXN];
| ^~~~
oranges2.cpp: In function ‘void dfs(int, int, int, int)’:
oranges2.cpp:78:25: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
78 | for (int i = 0; i < tree[node].size(); i++) {
| ^~~~
| free
oranges2.cpp: In function ‘void primMST(vvpii&, int)’:
oranges2.cpp:171:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
171 | tree[u].pushb(mp(i, key[i]));
| ^~~~
| free
oranges2.cpp: In function ‘int main()’:
oranges2.cpp:180:5: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
180 | tree.resize(MAXN);
| ^~~~
| free