0_0_17363401_6103.cpp:6:14: error: conflicting declaration 'char s [1100][110]'
char s[N][110];
^
0_0_17363401_6103.cpp:4:25: note: previous declaration as 'int s'
int t,m,w,p[N],n[N],cnt,s;
^
0_0_17363401_6103.cpp: In function 'void build(int)':
0_0_17363401_6103.cpp:19:17: error: invalid types 'int[int]' for array subscript
int k=map[s[id][i]-'a'];
^
0_0_17363401_6103.cpp: In function 'int main()':
0_0_17363401_6103.cpp:39:8: error: no match for 'operator=' (operand types are 'node' and 'node*')
*root=mem+cnt++;
^
0_0_17363401_6103.cpp:39:8: note: candidates are:
0_0_17363401_6103.cpp:7:8: note: node& node::operator=(const node&)
struct node{
^
0_0_17363401_6103.cpp:7:8: note: no known conversion for argument 1 from 'node*' to 'const node&'
0_0_17363401_6103.cpp:7:8: note: node& node::operator=(node&&)
0_0_17363401_6103.cpp:7:8: note: no known conversion for argument 1 from 'node*' to 'node&&'
0_0_17363401_6103.cpp:42:18: error: invalid types 'int[int]' for array subscript
scanf("%s",s[i]);
^
0_0_17363401_6103.cpp:44:19: error: invalid types 'int[int]' for array subscript
n[i]=strlen(s[i]);
^
|