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_33552791_12529.cpp: In function 'void solve()':
0_0_33552791_12529.cpp:134:19: error: too few arguments to function 'int getCost(int, int)'
   if (getCost(root) > getCost(root-1))root--;
                   ^
0_0_33552791_12529.cpp:113:12: note: declared here
 inline int getCost(int i, int j){
            ^
0_0_33552791_12529.cpp:134:37: error: too few arguments to function 'int getCost(int, int)'
   if (getCost(root) > getCost(root-1))root--;
                                     ^
0_0_33552791_12529.cpp:113:12: note: declared here
 inline int getCost(int i, int j){
            ^
0_0_33552791_12529.cpp:135:19: error: too few arguments to function 'int getCost(int, int)'
   if (getCost(root) > getCost(root+1))root++;
                   ^
0_0_33552791_12529.cpp:113:12: note: declared here
 inline int getCost(int i, int j){
            ^
0_0_33552791_12529.cpp:135:37: error: too few arguments to function 'int getCost(int, int)'
   if (getCost(root) > getCost(root+1))root++;
                                     ^
0_0_33552791_12529.cpp:113:12: note: declared here
 inline int getCost(int i, int j){
            ^


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-06-29 11:51:31, Gzip enabled