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_24574889_13082.cpp:11:24: error: conflicting declaration 'int dx'
 int N, M, T, S_x, S_y, dx, dy, D_x, D_y,wall_count;
                        ^
0_0_24574889_13082.cpp:9:5: note: previous declaration as 'int dx [4]'
 int dx[]={-1,0,1,0};
     ^
0_0_24574889_13082.cpp:11:28: error: conflicting declaration 'int dy'
 int N, M, T, S_x, S_y, dx, dy, D_x, D_y,wall_count;
                            ^
0_0_24574889_13082.cpp:10:5: note: previous declaration as 'int dy [4]'
 int dy[]={0,-1,0,1};
     ^


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-09-30 04:22:52, Gzip enabled