F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27166814_9405.cpp: In function 'void bfs(int*)':
0_0_27166814_9405.cpp:50:17: error: 'nbsp' was not declared in this scope
  queue<node2>Q;  
                 ^
0_0_27166814_9405.cpp:52:34: error: 'e' was not declared in this scope
     int e,tx,ty,tem,t=0;  
                                  ^
0_0_27166814_9405.cpp:52:36: error: 'tx' was not declared in this scope
     int e,tx,ty,tem,t=0;  
                                    ^
0_0_27166814_9405.cpp:52:39: error: 'ty' was not declared in this scope
     int e,tx,ty,tem,t=0;  
                                       ^
0_0_27166814_9405.cpp:52:42: error: 'tem' was not declared in this scope
     int e,tx,ty,tem,t=0;  
                                          ^
0_0_27166814_9405.cpp:52:46: error: 't' was not declared in this scope
     int e,tx,ty,tem,t=0;  
                                              ^
0_0_27166814_9405.cpp:53:49: error: 'node2' has no member named 'aa'
     for(e=0;e<9;e++) q.aa[e]=a[e];  
                                                 ^
0_0_27166814_9405.cpp:54:33: error: 'node2' has no member named 'son'
     q.n=8;q.son=0;  
                                 ^
0_0_27166814_9405.cpp:55:9: error: 'node2' has no member named 'son'
  Node[q.son].fath=0;//把最终父节点记为0,也就是本身  
         ^
0_0_27166814_9405.cpp:63:82: error: 'dir' was not declared in this scope
             tx=q.n%3+dir[e][0];ty=q.n/3+dir[e][1];  
                                                                                  ^
0_0_27166814_9405.cpp:67:103: error: 'node2' has no member named 'aa'
                 tem=p.aa[p.n];p.aa[p.n]=p.aa[q.n];p.aa[q.n]=tem;  
                                                                                                       ^
0_0_27166814_9405.cpp:67:113: error: 'node2' has no member named 'aa'
                 tem=p.aa[p.n];p.aa[p.n]=p.aa[q.n];p.aa[q.n]=tem;  
                                                                                                                 ^
0_0_27166814_9405.cpp:67:123: error: 'node2' has no member named 'aa'
                 tem=p.aa[p.n];p.aa[p.n]=p.aa[q.n];p.aa[q.n]=tem;  
                                                                                                                           ^
0_0_27166814_9405.cpp:67:133: error: 'node2' has no member named 'aa'
                 tem=p.aa[p.n];p.aa[p.n]=p.aa[q.n];p.aa[q.n]=tem;  
                                                                                                                                     ^
0_0_27166814_9405.cpp:68:99: error: 'node2' has no member named 'son'
                 p.son=cantor(p.aa);  
                                                                                                   ^
0_0_27166814_9405.cpp:68:112: error: 'node2' has no member named 'aa'
                 p.son=cantor(p.aa);  
                                                                                                                ^
0_0_27166814_9405.cpp:69:107: error: 'node2' has no member named 'son'
                 if(Node[p.son].fath==-1)//为-1时表示这个点没有访问过,那么放入队列  
                                                                                                           ^
0_0_27166814_9405.cpp:71:128: error: 'node2' has no member named 'son'
                     Node[p.son].fath=q.son;//当前节点的父节点就是上一个节点  
                                                                                                                                ^
0_0_27166814_9405.cpp:71:140: error: 'node2' has no member named 'son'
                     Node[p.son].fath=q.son;//当前节点的父节点就是上一个节点  
                                                                                                                                            ^
0_0_27166814_9405.cpp:72:136: error: 'node2' has no member named 'son'
                     if(e==0)Node[p.son].way='l';//一定要注意了,e=0是向右走,但我们是要往回搜,所以为了在输出时不用再进行转换,直接记录相反的方向  
                                                                                                                                        ^
0_0_27166814_9405.cpp:73:136: error: 'node2' has no member named 'son'
                     if(e==1)Node[p.son].way='r';  
                                                                                                                                        ^
0_0_27166814_9405.cpp:74:136: error: 'node2' has no member named 'son'
                     if(e==2)Node[p.son].way='u';  
                                                                                                                                        ^
0_0_27166814_9405.cpp:75:136: error: 'node2' has no member named 'son'
                     if(e==3)Node[p.son].way='d';  
                                                                                                                                        ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-17 01:28:04, Gzip enabled