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_30406396_30397.cpp:27:13: error: initializer-string for array of chars is too long [-fpermissive]
 char d[4] = "udlr";
             ^
0_0_30406396_30397.cpp: In function 'void aStar(Node)':
0_0_30406396_30397.cpp:39:28: error: 'get_hash' was not declared in this scope
     end.hash = get_hash(end);
                            ^
0_0_30406396_30397.cpp:48:18: error: 'get_h' was not declared in this scope
     a.h = get_h(a);
                  ^
0_0_30406396_30397.cpp:51:11: error: 'push' was not declared in this scope
     push(a);
           ^
0_0_30406396_30397.cpp:62:59: error: 'swap' was not declared in this scope
             swap(&cur.f[cur.x][cur.y],&cur.f[nextX][nextY]);
                                                           ^
0_0_30406396_30397.cpp:76:24: error: 'print' was not declared in this scope
                 print(k);
                        ^
0_0_30406396_30397.cpp: In function 'void push(Node)':
0_0_30406396_30397.cpp:96:14: error: 'up' was not declared in this scope
     up(size-1);
              ^
0_0_30406396_30397.cpp: In function 'Node* pop()':
0_0_30406396_30397.cpp:101:36: error: invalid conversion from 'void*' to 'Node*' [-fpermissive]
     Node* res = malloc(sizeof(Node));
                                    ^
0_0_30406396_30397.cpp:113:11: error: 'down' was not declared in this scope
     down(0);
           ^


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 07:22:44, Gzip enabled