0_0_33696330_20169.cpp:18:18: error: 'll' was not declared in this scope
vector<pair<int, ll> > G[maxn];
^
0_0_33696330_20169.cpp:18:20: error: template argument 2 is invalid
vector<pair<int, ll> > G[maxn];
^
0_0_33696330_20169.cpp:18:22: error: template argument 1 is invalid
vector<pair<int, ll> > G[maxn];
^
0_0_33696330_20169.cpp:18:22: error: template argument 2 is invalid
0_0_33696330_20169.cpp:18:31: error: invalid type in declaration before ';' token
vector<pair<int, ll> > G[maxn];
^
0_0_33696330_20169.cpp:20:1: error: 'll' does not name a type
ll zero, one;
^
0_0_33696330_20169.cpp:21:1: error: 'll' does not name a type
ll ans = 0;
^
0_0_33696330_20169.cpp: In function 'void init(int)':
0_0_33696330_20169.cpp:26:14: error: request for member 'clear' in 'G[i]', which is of non-class type 'int'
G[i].clear();
^
0_0_33696330_20169.cpp: At global scope:
0_0_33696330_20169.cpp:42:1: error: 'll' does not name a type
ll dfs(int u, int f){
^
0_0_33696330_20169.cpp: In function 'int main()':
0_0_33696330_20169.cpp:74:9: error: 'zero' was not declared in this scope
zero = one = 0;
^
0_0_33696330_20169.cpp:74:16: error: 'one' was not declared in this scope
zero = one = 0;
^
0_0_33696330_20169.cpp:84:9: error: 'll' was not declared in this scope
ll val = 1;
^
0_0_33696330_20169.cpp:87:13: error: 'val' was not declared in this scope
val *= 2;
^
0_0_33696330_20169.cpp:91:22: error: request for member 'push_back' in 'G[u]', which is of non-class type 'int'
G[u].push_back(make_pair(v, val));
^
0_0_33696330_20169.cpp:92:22: error: request for member 'push_back' in 'G[v]', which is of non-class type 'int'
G[v].push_back(make_pair(u, val));
^
0_0_33696330_20169.cpp:95:9: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_33696330_20169.cpp:96:18: error: 'dfs' was not declared in this scope
dfs(1, -1);
^
|