/in/foo.cc: In function 'void bfs()':
/in/foo.cc:41:17: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
int tp=num(a);
^
/in/foo.cc:48:21: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
if(tp==num(t)){
^
/in/foo.cc:57:35: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
if(v[num(a)]==0){
^
/in/foo.cc:58:41: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
q.push(num(a));
^
/in/foo.cc:59:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
v[num(a)]=1;
^
/in/foo.cc:60:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
l[num(a)]=L+1;
^
/in/foo.cc:66:35: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
if(v[num(a)]==0){
^
/in/foo.cc:67:41: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
q.push(num(a));
^
/in/foo.cc:68:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
v[num(a)]=1;
^
/in/foo.cc:69:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
l[num(a)]=L+1;
^
/in/foo.cc:75:35: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
if(v[num(a)]==0){
^
/in/foo.cc:76:41: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
q.push(num(a));
^
/in/foo.cc:77:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
v[num(a)]=1;
^
/in/foo.cc:78:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
l[num(a)]=L+1;
^
/in/foo.cc:84:35: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
if(v[num(a)]==0){
^
/in/foo.cc:85:41: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
q.push(num(a));
^
/in/foo.cc:86:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
v[num(a)]=1;
^
/in/foo.cc:87:36: error: cannot convert 'char (*)[5]' to 'char (*)[4]' for argument '1' to 'int num(char (*)[4])'
l[num(a)]=L+1;
^