0_0_38804101_14973.cpp:1:9: error: 'pair' does not name a type
1 | typedef pair<int,int> P;
| ^~~~
0_0_38804101_14973.cpp:6:1: error: 'vector' does not name a type
6 | vector<int> G[maxn];
| ^~~~~~
0_0_38804101_14973.cpp: In function 'void dfs(int, bool)':
0_0_38804101_14973.cpp:11:17: error: 'G' was not declared in this scope
11 | for(auto c: G[node]){
| ^
0_0_38804101_14973.cpp: In function 'int main()':
0_0_38804101_14973.cpp:17:11: error: 'cin' was not declared in this scope
17 | int T;cin>>T;
| ^~~
0_0_38804101_14973.cpp:20:36: error: 'G' was not declared in this scope
20 | for(int i = 0;i <= n; ++i) G[i].clear();
| ^
0_0_38804101_14973.cpp:21:9: error: 'me' was not declared in this scope; did you mean 'm'?
21 | me(vis);
| ^~
| m
0_0_38804101_14973.cpp:22:13: error: 'i' was not declared in this scope
22 | rep(i,0,m){
| ^
0_0_38804101_14973.cpp:22:9: error: 'rep' was not declared in this scope
22 | rep(i,0,m){
| ^~~
0_0_38804101_14973.cpp:27:16: error: 'P' was not declared in this scope
27 | vector<P> vec;
| ^
0_0_38804101_14973.cpp:27:9: error: 'vector' was not declared in this scope
27 | vector<P> vec;
| ^~~~~~
0_0_38804101_14973.cpp:27:19: error: 'vec' was not declared in this scope
27 | vector<P> vec;
| ^~~
0_0_38804101_14973.cpp:34:9: error: 'bitset' was not declared in this scope
34 | bitset<maxn> b;
| ^~~~~~
0_0_38804101_14973.cpp:34:22: error: 'b' was not declared in this scope
34 | bitset<maxn> b;
| ^
0_0_38804101_14973.cpp:41:9: error: 'LL' was not declared in this scope
41 | LL ans = 0;
| ^~
0_0_38804101_14973.cpp:44:17: error: 'ans' was not declared in this scope
44 | ans = max(ans,1ll*(n-i)*i-m);
| ^~~
0_0_38804101_14973.cpp:44:23: error: 'max' was not declared in this scope; did you mean 'maxn'?
44 | ans = max(ans,1ll*(n-i)*i-m);
| ^~~
| maxn
0_0_38804101_14973.cpp:47:9: error: 'cout' was not declared in this scope
47 | cout<<ans<<endl;
| ^~~~
0_0_38804101_14973.cpp:47:15: error: 'ans' was not declared in this scope
47 | cout<<ans<<endl;
| ^~~
0_0_38804101_14973.cpp:47:20: error: 'endl' was not declared in this scope
47 | cout<<ans<<endl;
| ^~~~
|