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_29869581_2209.cpp: In function 'int cal(int)':
0_0_29869581_2209.cpp:77:19: error: no matching function for call to 'calc(int&, int&)'
   int tmp=calc(x,k);
                   ^
0_0_29869581_2209.cpp:77:19: note: candidates are:
0_0_29869581_2209.cpp:6:12: note: int calc(int, int, int)
 inline int calc(int n,int k,int t)
            ^
0_0_29869581_2209.cpp:6:12: note:   candidate expects 3 arguments, 2 provided
0_0_29869581_2209.cpp:15:12: note: int calc(int, int, int, int, int)
 inline int calc(int n,int k1,int k2,int x1,int x2)
            ^
0_0_29869581_2209.cpp:15:12: note:   candidate expects 5 arguments, 2 provided


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 11:29:11, Gzip enabled