0_0_33696323_28862.cpp:14:18: error: 'll' was not declared in this scope
vector<pair<int, ll> > G[maxn];
^
0_0_33696323_28862.cpp:14:20: error: template argument 2 is invalid
vector<pair<int, ll> > G[maxn];
^
0_0_33696323_28862.cpp:14:22: error: template argument 1 is invalid
vector<pair<int, ll> > G[maxn];
^
0_0_33696323_28862.cpp:14:22: error: template argument 2 is invalid
0_0_33696323_28862.cpp:14:31: error: invalid type in declaration before ';' token
vector<pair<int, ll> > G[maxn];
^
0_0_33696323_28862.cpp:16:1: error: 'll' does not name a type
ll zero, one;
^
0_0_33696323_28862.cpp:17:1: error: 'll' does not name a type
ll ans = 0;
^
0_0_33696323_28862.cpp: In function 'void init(int)':
0_0_33696323_28862.cpp:22:14: error: request for member 'clear' in 'G[i]', which is of non-class type 'int'
G[i].clear();
^
0_0_33696323_28862.cpp: At global scope:
0_0_33696323_28862.cpp:38:1: error: 'll' does not name a type
ll dfs(int u, int f){
^
0_0_33696323_28862.cpp: In function 'int main()':
0_0_33696323_28862.cpp:70:9: error: 'zero' was not declared in this scope
zero = one = 0;
^
0_0_33696323_28862.cpp:70:16: error: 'one' was not declared in this scope
zero = one = 0;
^
0_0_33696323_28862.cpp:80:9: error: 'll' was not declared in this scope
ll val = 1;
^
0_0_33696323_28862.cpp:83:13: error: 'val' was not declared in this scope
val *= 2;
^
0_0_33696323_28862.cpp:87: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_33696323_28862.cpp:88: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_33696323_28862.cpp:91:9: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_33696323_28862.cpp:92:18: error: 'dfs' was not declared in this scope
dfs(1, -1);
^
|