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_39360605_19147.cpp: In function 'void solve()':
0_0_39360605_19147.cpp:88:28: error: no matching function for call to 'seg_tree::seg_tree()'
   88 |         seg_tree sg_c(sz), sg_v;
      |                            ^~~~
0_0_39360605_19147.cpp:35:5: note: candidate: 'seg_tree::seg_tree(int)'
   35 |     seg_tree(int n) {
      |     ^~~~~~~~
0_0_39360605_19147.cpp:35:5: note:   candidate expects 1 argument, 0 provided
0_0_39360605_19147.cpp:32:8: note: candidate: 'constexpr seg_tree::seg_tree(const seg_tree&)'
   32 | struct seg_tree {
      |        ^~~~~~~~
0_0_39360605_19147.cpp:32:8: note:   candidate expects 1 argument, 0 provided
0_0_39360605_19147.cpp:32:8: note: candidate: 'constexpr seg_tree::seg_tree(seg_tree&&)'
0_0_39360605_19147.cpp:32:8: note:   candidate expects 1 argument, 0 provided


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.001000(s) query 1, Server time : 2025-01-10 12:05:35, Gzip enabled