Problem factories
User Pan
Submission Time 2023-12-22 18:09:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

factories.cpp:3:1: error: ‘include’ does not name a type
3 | include <bits/stdc++.h>
| ^~~~~~~
factories.cpp:13:9: error: ‘pair’ does not name a type
13 | typedef pair<ll, ll> pi;
| ^~~~
factories.cpp:16:1: error: ‘vector’ does not name a type
16 | vector<pi> V[MAXN];
| ^~~~~~
factories.cpp:54:1: error: ‘vector’ does not name a type
54 | vector<vector<pi > >rmq;
| ^~~~~~
factories.cpp:56:1: error: ‘vector’ does not name a type
56 | vector<pi> arr;
| ^~~~~~
factories.cpp: In function ‘void dfs(ll, ll)’:
factories.cpp:62:2: error: ‘arr’ was not declared in this scope
62 | arr.pb(mp(depth[node], node));
| ^~~
factories.cpp:7:12: error: ‘make_pair’ was not declared in this scope
7 | #define mp make_pair
| ^~~~~~~~~
factories.cpp:62:9: note: in expansion of macro ‘mp’
62 | arr.pb(mp(depth[node], nod