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_30815019_30109.cpp: In function 'void init()':
0_0_30815019_30109.cpp:33:29: error: 'memset' was not declared in this scope
  memset(head,-1,sizeof(head));
                             ^
0_0_30815019_30109.cpp: In function 'void spfa(int, int)':
0_0_30815019_30109.cpp:48:22: error: 'memset' was not declared in this scope
  memset(h,0,sizeof(h));
                      ^
0_0_30815019_30109.cpp: In function 'int find(char*)':
0_0_30815019_30109.cpp:74:22: error: 'strcmp' was not declared in this scope
   if(strcmp(p,B[i].ch)==0)
                      ^
0_0_30815019_30109.cpp: In function 'bool find_bus(std::vector<bus_stop>, std::vector<bus_stop>)':
0_0_30815019_30109.cpp:80:29: error: 'strcmp' was not declared in this scope
    if(strcmp(p[i].ch,q[j].ch)==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-23 06:10:11, Gzip enabled