0_0_29681575_6511.cpp:6:18: error: 'T' does not name a type
template<typedef T>inline void read(T&x)
^
0_0_29681575_6511.cpp:23:1: error: typedef declaration invalid in parameter declaration
}
^
0_0_29681575_6511.cpp:25:1: error: expected '>' before 'const'
const int N=3e5+50;
^
0_0_29681575_6511.cpp:25:19: error: expected unqualified-id before ';' token
const int N=3e5+50;
^
0_0_29681575_6511.cpp:30:6: error: 'N' was not declared in this scope
}t[4*N];
^
0_0_29681575_6511.cpp:31:30: error: 'N' was not declared in this scope
int n,root=1,sz=1,lst=1,np,a[N];
^
0_0_29681575_6511.cpp: In function 'void insert(int)':
0_0_29681575_6511.cpp:36:2: error: 't' was not declared in this scope
t[np].len=t[p].len+1;
^
0_0_29681575_6511.cpp: In function 'int main()':
0_0_29681575_6511.cpp:61:8: error: 'read' was not declared in this scope
read(n);
^
0_0_29681575_6511.cpp:64:8: error: 'a' was not declared in this scope
read(a[i]);
^
0_0_29681575_6511.cpp:64:10: error: 'i' was not declared in this scope
read(a[i]);
^
0_0_29681575_6511.cpp:67:20: error: 'a' was not declared in this scope
rep(i,1,n) insert(a[i]);
^
0_0_29681575_6511.cpp:72:14: error: 't' was not declared in this scope
it = t[now].ch.begin();
^
|