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_14607586_21259.cpp: In function 'void buildtree(int, int, int, int)':
0_0_14607586_21259.cpp:19:22: error: too few arguments to function 'void buildtree(int, int, int, int)'
  buildtree(l,mid,no*2);
                      ^
0_0_14607586_21259.cpp:14:6: note: declared here
 void buildtree(int l,int r,int no,int w){
      ^
0_0_14607586_21259.cpp:20:26: error: too few arguments to function 'void buildtree(int, int, int, int)'
  buildtree(mid+1,r,no*2+1);
                          ^
0_0_14607586_21259.cpp:14:6: note: declared here
 void buildtree(int l,int r,int no,int w){
      ^


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 18:15:46, Gzip enabled