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_16363124_12052.cpp: In function 'int main()':
0_0_16363124_12052.cpp:100:20: error: no matching function for call to 'MCMF::init(int)'
   test.init(a3+b3+1);
                    ^
0_0_16363124_12052.cpp:100:20: note: candidate is:
0_0_16363124_12052.cpp:27:10: note: void MCMF::init()
     void init(){
          ^
0_0_16363124_12052.cpp:27:10: note:   candidate expects 0 arguments, 1 provided
0_0_16363124_12052.cpp:108:43: error: no matching function for call to 'MCMF::MincostMaxflow(int, int, int&)'
   int ans=test.MincostMaxflow(0,a3+b3+1,co);
                                           ^
0_0_16363124_12052.cpp:108:43: note: candidate is:
0_0_16363124_12052.cpp:70:9: note: int MCMF::MincostMaxflow(int, int, LL&)
     int MincostMaxflow(int s,int t,LL &cost){
         ^
0_0_16363124_12052.cpp:70:9: note:   no known conversion for argument 3 from 'int' to 'LL& {aka long long int&}'


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-10-25 05:12:20, Gzip enabled