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_30168840_2643.c:9:20: error: expected specifier-qualifier-list before '/' token
     char tile[10]; // represent the tile as a string ending with '\0'
                    ^
0_0_30168840_2643.c:15:21: error: expected identifier or '(' before '/' token
 Node queue[2][MAXN];// two queues for double directoin BFS
                     ^
0_0_30168840_2643.c:18:1: error: expected identifier or '(' before '/' token
 //for output direction!
 ^
0_0_30168840_2643.c:20:1: error: expected identifier or '(' before '/' token
 //test case
 ^
0_0_30168840_2643.c:23:1: error: expected identifier or '(' before '/' token
 //read a tile 3 by 3
 ^
0_0_30168840_2643.c:35:1: error: expected identifier or '(' before '/' token
 //print result
 ^
0_0_30168840_2643.c: In function 'print_forward':
0_0_30168840_2643.c:46:19: error: 'Node' has no member named 'parent'
     if(queue[1][j].parent != -1)
                   ^
0_0_30168840_2643.c:48:33: error: 'Node' has no member named 'dir'
         printf("%c", queue[1][j].dir);
                                 ^
0_0_30168840_2643.c:49:34: error: 'Node' has no member named 'parent'
         print_forward(queue[1][j].parent);
                                  ^
0_0_30168840_2643.c: In function 'print_result':
0_0_30168840_2643.c:54:5: error: expected expression before '/' token
     //printf("%d,%d\n", i, j);
     ^
0_0_30168840_2643.c: At top level:
0_0_30168840_2643.c:59:1: error: expected identifier or '(' before '/' token
 //init the queue
 ^
0_0_30168840_2643.c:67:1: error: expected identifier or '(' before '/' token
 //check if there are duplicates in the queue
 ^
0_0_30168840_2643.c:82:1: error: expected identifier or '(' before '/' token
 //check if the current node is in another queue!
 ^
0_0_30168840_2643.c:97:1: error: expected identifier or '(' before '/' token
 //expand nodes
 ^
0_0_30168840_2643.c:139:1: error: expected identifier or '(' before '/' token
 //call expand to generate queues
 ^
0_0_30168840_2643.c: In function 'main':
0_0_30168840_2643.c:175:5: error: expected expression before '/' token
     //system("pause"); //pause
     ^
0_0_30168840_2643.c:175:24: error: expected expression before '/' token
     //system("pause"); //pause
                        ^


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-29 09:31:45, Gzip enabled