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_27291849_30020.cpp: In function 'long long int solve(int, int, int, int)':
0_0_27291849_30020.cpp:150:32: error: too few arguments to function 'long long int query(int, int, int, int, int)'
         ans+=query(p[f1],p[u],1);
                                ^
0_0_27291849_30020.cpp:118:11: note: declared here
 long long query(int L,int R,int k,int ut,int dt)
           ^
0_0_27291849_30020.cpp:158:27: error: too few arguments to function 'long long int query(int, int, int, int, int)'
     ans+=query(p[u],p[v],1);
                           ^
0_0_27291849_30020.cpp:118:11: note: declared here
 long long query(int L,int R,int k,int ut,int dt)
           ^


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-12-04 23:22:49, Gzip enabled