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_38608068_17355.cpp: In function 'int main()':
0_0_38608068_17355.cpp:134:39: error: no matching function for call to 'segtree::merge(int&, int&, int, int&, int)'
     rt[y] = tr.merge(rt[x],rt[y],1,n,1);
                                       ^
0_0_38608068_17355.cpp:104:6: note: candidate: 'int segtree::merge(int, int, int)'
  int merge(int p,int q,int t){
      ^~~~~
0_0_38608068_17355.cpp:104:6: note:   candidate expects 3 arguments, 5 provided


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-11-30 17:54:39, Gzip enabled