0_0_31528404_20744.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^
0_0_31528404_20744.cpp:11:9: error: 'pair' does not name a type
typedef pair<int, int> PII;
^
0_0_31528404_20744.cpp:25:1: error: 'vector' does not name a type
vector<int>E[MX];
^
0_0_31528404_20744.cpp: In function 'void init(int)':
0_0_31528404_20744.cpp:27:23: error: 'E' was not declared in this scope
rep (i, 1, n + 1) E[i].clear();
^
0_0_31528404_20744.cpp: At global scope:
0_0_31528404_20744.cpp:31:5: error: 'vector' does not name a type
vector <int> T;
^
0_0_31528404_20744.cpp:35:48: error: expected '}' at end of input
for (int i = 0; i <= n; i++) T[i] = 0;%0
^
0_0_31528404_20744.cpp: In member function 'void Tree::init(int)':
0_0_31528404_20744.cpp:34:9: error: 'T' was not declared in this scope
T.resize (n + 1);
^
0_0_31528404_20744.cpp:35:47: error: expected primary-expression before '%' token
for (int i = 0; i <= n; i++) T[i] = 0;%0
^
0_0_31528404_20744.cpp:35:48: error: expected '}' at end of input
for (int i = 0; i <= n; i++) T[i] = 0;%0
^
0_0_31528404_20744.cpp: At global scope:
0_0_31528404_20744.cpp:35:48: error: expected unqualified-id at end of input
|