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_39793481_1031.cpp: In instantiation of 'int LazySegmentTree<Node, Tag>::findFirst(int, int, int, int, int, LL) [with Node = Node; Tag = Tag; LL = long long int]':
0_0_39793481_1031.cpp:117:19:   required from 'int LazySegmentTree<Node, Tag>::findFirst(int, int, LL) [with Node = Node; Tag = Tag; LL = long long int]'
0_0_39793481_1031.cpp:182:25:   required from here
0_0_39793481_1031.cpp:113:33: error: no matching function for call to 'LazySegmentTree<Node, Tag>::findFirst(int, int, int&, int&)'
  113 |                 return findFirst(p << 1 | 1, mid + 1, pr, L);
      |                        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
0_0_39793481_1031.cpp:103:13: note: candidate: 'int LazySegmentTree<Node, Tag>::findFirst(int, int, int, int, int, LL) [with Node = Node; Tag = Tag; LL = long long int]'
  103 |         int findFirst(int p, int pl, int pr, int L, int k, LL need) {
      |             ^~~~~~~~~
0_0_39793481_1031.cpp:103:13: note:   candidate expects 6 arguments, 4 provided
0_0_39793481_1031.cpp:115:13: note: candidate: 'int LazySegmentTree<Node, Tag>::findFirst(int, int, LL) [with Node = Node; Tag = Tag; LL = long long int]'
  115 |         int findFirst(int L, int k, LL need) {
      |             ^~~~~~~~~
0_0_39793481_1031.cpp:115:13: note:   candidate expects 3 arguments, 4 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-25 17:24:44, Gzip enabled