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_27030184_26685.cpp: In function 'bool dfs(int, int, name*)':
0_0_27030184_26685.cpp:24:21: error: too few arguments to function 'bool dfs(int, int, name*)'
   if(dfs(c+1,all+res))return 1;
                     ^
0_0_27030184_26685.cpp:10:6: note: declared here
 bool dfs(int c,int all,name w[]){
      ^
0_0_27030184_26685.cpp: In function 'int main()':
0_0_27030184_26685.cpp:51:23: error: too few arguments to function 'bool dfs(int, int, name*)'
   while(nw){if(dfs(1,0))break;nw++;}
                       ^
0_0_27030184_26685.cpp:10:6: note: declared here
 bool dfs(int c,int all,name w[]){
      ^


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 03:25:48, Gzip enabled