0_0_22160810_4783.cpp:13:2: error: redeclaration of 'int& T::nbsp'
int n;
^
0_0_22160810_4783.cpp:12:2: note: previous declaration 'int& T::nbsp'
int dis[N],co[N];
^
0_0_22160810_4783.cpp:14:2: error: redeclaration of 'int& T::nbsp'
int f,q,s,w;
^
0_0_22160810_4783.cpp:12:2: note: previous declaration 'int& T::nbsp'
int dis[N],co[N];
^
0_0_22160810_4783.cpp:15:2: error: redeclaration of 'int& T::nbsp'
int ru;
^
0_0_22160810_4783.cpp:12:2: note: previous declaration 'int& T::nbsp'
int dis[N],co[N];
^
0_0_22160810_4783.cpp:17:9: error: use of deleted function 'T::T()'
T tree[N];
^
0_0_22160810_4783.cpp:10:7: note: 'T::T()' is implicitly deleted because the default definition would be ill-formed:
class T{
^
0_0_22160810_4783.cpp:10:7: error: uninitialized reference member in 'class T'
0_0_22160810_4783.cpp:12:2: note: 'int& T::nbsp' should be initialized
int dis[N],co[N];
^
0_0_22160810_4783.cpp: In function 'void init(int, int&)':
0_0_22160810_4783.cpp:20:2: error: 'nbsp' was not declared in this scope
int f,q,s,w,i;
^
0_0_22160810_4783.cpp:31:13: error: 'else' without a previous 'if'
else
^
0_0_22160810_4783.cpp: In function 'int dp(int, int)':
0_0_22160810_4783.cpp:37:2: error: 'nbsp' was not declared in this scope
int i,j,k,tmp[N],ans,mm,cur,par,tmp_n;
^
0_0_22160810_4783.cpp: In function 'int main()':
0_0_22160810_4783.cpp:84:2: error: 'nbsp' was not declared in this scope
int n,root,cs,t;
^
|