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_35355930_8720.cpp: In function 'void input()':
0_0_35355930_8720.cpp:25:35: error: 'memset' was not declared in this scope
     memset( map, 0, sizeof( map ) );
                                   ^
0_0_35355930_8720.cpp: In function 'int bfs()':
0_0_35355930_8720.cpp:78:38: error: 'memset' was not declared in this scope
     memset( step, -1, sizeof( step ) );
                                      ^
0_0_35355930_8720.cpp:91:46: error: 'abs' was not declared in this scope
             if ( abs( map[p.x][p.y][p.state] ) < 3 && map[p.x][p.y][p.state] > 0 ) continue;
                                              ^


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-08-31 05:53:23, Gzip enabled