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_21486113_27216.cpp: In function 'double query(int, int, int, int, int)':
0_0_21486113_27216.cpp:51:23: error: too few arguments to function 'double query(int, int, int, int, int)'
  return min(query(lson),query(rson));
                       ^
0_0_21486113_27216.cpp:44:8: note: declared here
 double query(int L,int R,int x,int l,int r){
        ^
0_0_21486113_27216.cpp:51:35: error: too few arguments to function 'double query(int, int, int, int, int)'
  return min(query(lson),query(rson));
                                   ^
0_0_21486113_27216.cpp:44:8: note: declared here
 double query(int L,int R,int x,int l,int r){
        ^
0_0_21486113_27216.cpp: In function 'int main()':
0_0_21486113_27216.cpp:70:19: error: too few arguments to function 'double query(int, int, int, int, int)'
     if(query(1,0,i) <= (i+1)*m){
                   ^
0_0_21486113_27216.cpp:44:8: note: declared here
 double query(int L,int R,int x,int l,int r){
        ^


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-12 20:59:22, Gzip enabled