记录详情

Compile Error

/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;
                                    ^

信息

递交者
类型
自测
题目
P1171 CoVH之再破难关
语言
C++
递交时间
2021-01-28 10:42:38
评测时间
2021-01-28 10:42:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes