0_0_19116913_5369.cpp: In function 'void build(int, int, int)':
0_0_19116913_5369.cpp:40:18: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '2' to 'void cal(int, short int (*)[19])'
cal(l,tree[num]);
^
0_0_19116913_5369.cpp:46:47: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '1' to 'void Merge(short int (*)[19], short int (*)[19], short int (*)[19])'
Merge(tree[num<<1],tree[1+(num<<1)],tree[num]);
^
0_0_19116913_5369.cpp: In function 'void change(int, int, int, int)':
0_0_19116913_5369.cpp:52:18: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '2' to 'void cal(int, short int (*)[19])'
cal(l,tree[num]);
^
0_0_19116913_5369.cpp:58:47: error: cannot convert 'short int (*)[22]' to 'short int (*)[19]' for argument '1' to 'void Merge(short int (*)[19], short int (*)[19], short int (*)[19])'
Merge(tree[num<<1],tree[1+(num<<1)],tree[num]);
^
|