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_28478507_15477.cpp: In function 'void dfs(int, int, int, int)':
0_0_28478507_15477.cpp:39:26: error: too many arguments to function 'void dfs(int, int, int, int)'
     dfs(x,y,ex,ey,i,turns);
                          ^
0_0_28478507_15477.cpp:13:6: note: declared here
 void dfs(int x1,int y1,int dic,int turns)
      ^
0_0_28478507_15477.cpp:42:27: error: too many arguments to function 'void dfs(int, int, int, int)'
    dfs(x,y,ex,ey,i,turns+1);
                           ^
0_0_28478507_15477.cpp:13:6: note: declared here
 void dfs(int x1,int y1,int dic,int turns)
      ^
0_0_28478507_15477.cpp: In function 'int main()':
0_0_28478507_15477.cpp:65:3: error: expected initializer before 'cin'
   cin>>q;
   ^
0_0_28478507_15477.cpp:68:13: error: 'y1' was not declared in this scope
    cin>>x1>>y1>>ex>>ey;
             ^


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-30 03:15:41, Gzip enabled