0_0_33021334_12857.cpp: In function 'int bfs()':
0_0_33021334_12857.cpp:15:12: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_33021334_12857.cpp:15:29: error: 'memset' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_33021334_12857.cpp:17:9: error: 'struct node' has no member named 'p1'
cur.p1=p1;
^
0_0_33021334_12857.cpp:17:12: error: 'p1' was not declared in this scope
cur.p1=p1;
^
0_0_33021334_12857.cpp:18:9: error: 'struct node' has no member named 'p2'
cur.p2=p2;
^
0_0_33021334_12857.cpp:18:12: error: 'p2' was not declared in this scope
cur.p2=p2;
^
0_0_33021334_12857.cpp:19:9: error: 'struct node' has no member named 'p3'
cur.p3=p3;
^
0_0_33021334_12857.cpp:19:12: error: 'p3' was not declared in this scope
cur.p3=p3;
^
0_0_33021334_12857.cpp:21:5: error: 'q' was not declared in this scope
q.push(cur);
^
0_0_33021334_12857.cpp:27:16: error: 'struct node' has no member named 'p1'
if(cur.p1==cur.p2&&cur.p2==cur.p3)
^
0_0_33021334_12857.cpp:27:24: error: 'struct node' has no member named 'p2'
if(cur.p1==cur.p2&&cur.p2==cur.p3)
^
0_0_33021334_12857.cpp:27:32: error: 'struct node' has no member named 'p2'
if(cur.p1==cur.p2&&cur.p2==cur.p3)
^
0_0_33021334_12857.cpp:27:40: error: 'struct node' has no member named 'p3'
if(cur.p1==cur.p2&&cur.p2==cur.p3)
^
0_0_33021334_12857.cpp:31:16: error: 'g' was not declared in this scope
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:31:22: error: 'struct node' has no member named 'p1'
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:31:36: error: 'struct node' has no member named 'p2'
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:31:44: error: 'struct node' has no member named 'p3'
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:31:61: error: 'struct node' has no member named 'p2'
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:31:69: error: 'struct node' has no member named 'p3'
if(g[cur.p1][i]==g[cur.p2][cur.p3]&&!vis[i][cur.p2][cur.p3])
^
0_0_33021334_12857.cpp:35:22: error: 'struct node' has no member named 'p1'
next.p1=i;
^
0_0_33021334_12857.cpp:37:29: error: 'struct node' has no member named 'p2'
vis[i][next.p2][next.p3]=1;
^
0_0_33021334_12857.cpp:37:38: error: 'struct node' has no member named 'p3'
vis[i][next.p2][next.p3]=1;
^
0_0_33021334_12857.cpp:39:16: error: 'g' was not declared in this scope
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:39:22: error: 'struct node' has no member named 'p2'
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:39:36: error: 'struct node' has no member named 'p1'
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:39:44: error: 'struct node' has no member named 'p3'
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:39:58: error: 'struct node' has no member named 'p1'
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:39:69: error: 'struct node' has no member named 'p3'
if(g[cur.p2][i]==g[cur.p1][cur.p3]&&!vis[cur.p1][i][cur.p3])
^
0_0_33021334_12857.cpp:43:22: error: 'struct node' has no member named 'p2'
next.p2=i;
^
0_0_33021334_12857.cpp:45:26: error: 'struct node' has no member named 'p1'
vis[next.p1][i][next.p3]=1;
^
0_0_33021334_12857.cpp:45:38: error: 'struct node' has no member named 'p3'
vis[next.p1][i][next.p3]=1;
^
0_0_33021334_12857.cpp:47:16: error: 'g' was not declared in this scope
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:47:22: error: 'struct node' has no member named 'p3'
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:47:36: error: 'struct node' has no member named 'p1'
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:47:44: error: 'struct node' has no member named 'p2'
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:47:58: error: 'struct node' has no member named 'p1'
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:47:66: error: 'struct node' has no member named 'p2'
if(g[cur.p3][i]==g[cur.p1][cur.p2]&&!vis[cur.p1][cur.p2][i])
^
0_0_33021334_12857.cpp:51:22: error: 'struct node' has no member named 'p3'
next.p3=i;
^
0_0_33021334_12857.cpp:53:26: error: 'struct node' has no member named 'p1'
vis[next.p1][next.p2][i]=1;
^
0_0_33021334_12857.cpp:53:35: error: 'struct node' has no member named 'p2'
vis[next.p1][next.p2][i]=1;
^
|