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_14100263_13549.cpp: In function 'int dfs(int, long long int, int, long long int)':
0_0_14100263_13549.cpp:60:23: error: 'ed' was not declared in this scope
         sum+=dfs(st+1,ed,num,x+1,c*prime[st]);
                       ^
0_0_14100263_13549.cpp:69:23: error: 'ed' was not declared in this scope
         sum+=dfs(st+1,ed,num,x+1,c*prime[st]);
                       ^
0_0_14100263_13549.cpp: In function 'int main()':
0_0_14100263_13549.cpp:100:28: error: too many arguments to function 'int dfs(int, long long int, int, long long int)'
             h=dfs(0,m,l,1,1)+l;
                            ^
0_0_14100263_13549.cpp:44:5: note: declared here
 int dfs(int st,LL num,int x,LL c)
     ^


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-28 01:23:36, Gzip enabled