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_36144569_3861.cpp:189:2: error: expected unqualified-id before 'int'
  int j;
  ^
0_0_36144569_3861.cpp: In function 'bool bfs(int, int, int, int)':
0_0_36144569_3861.cpp:210:33: error: 'memset' was not declared in this scope
       memset(flag,0,sizeof(flag));//在使用flag数组的时候,最好先清一下0,不然会WA,我不知道他的测试数据是怎样的,但是不清0答案貌似也没有错误
                                 ^
0_0_36144569_3861.cpp:264:18: error: 'struct node' has no member named 'j'
      pre[bx][by].j=temp.j;//用来记录前驱结点的下标值
                  ^
0_0_36144569_3861.cpp: In function 'void print()':
0_0_36144569_3861.cpp:300:24: error: 'struct node' has no member named 'j'
     temp1.i=m-1; temp1.j=n-1; temp1.num=mg[m-1][n-1];
                        ^
0_0_36144569_3861.cpp:309:18: error: 'struct node' has no member named 'j'
   y1=pre[x2][y2].j;//一直压到了x1=0,y1=0;
                  ^
0_0_36144569_3861.cpp:320:51: error: 'struct node' has no member named 'j'
   printf("%ds:(%d,%d)->(%d,%d)\n",k++,temp.i,temp.j,temp1.i,temp1.j);
                                                   ^
0_0_36144569_3861.cpp:320:67: error: 'struct node' has no member named 'j'
   printf("%ds:(%d,%d)->(%d,%d)\n",k++,temp.i,temp.j,temp1.i,temp1.j);
                                                                   ^
0_0_36144569_3861.cpp:324:52: error: 'struct node' has no member named 'j'
    printf("%ds:FIGHT AT (%d,%d)\n",k++,temp.i,temp.j);
                                                    ^
0_0_36144569_3861.cpp:326:52: error: 'struct node' has no member named 'j'
    printf("%ds:(%d,%d)->(%d,%d)\n",k++,temp.i,temp.j,temp1.i,temp1.j);
                                                    ^
0_0_36144569_3861.cpp:326:68: error: 'struct node' has no member named 'j'
    printf("%ds:(%d,%d)->(%d,%d)\n",k++,temp.i,temp.j,temp1.i,temp1.j);
                                                                    ^


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-07-05 05:15:59, Gzip enabled