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_39296188_292.cpp: In function 'Info operator+(const Info&, const Info&)':
0_0_39296188_292.cpp:46:10: error: no matching function for call to 'Info::Info()'
   46 |     Info res;
      |          ^~~
0_0_39296188_292.cpp:32:5: note: candidate: 'Info::Info(int)'
   32 |     Info(int val){
      |     ^~~~
0_0_39296188_292.cpp:32:5: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(const Info&)'
   28 | struct Info{
      |        ^~~~
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(Info&&)'
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp: In function 'Info operator+(const Info&, const Lazy&)':
0_0_39296188_292.cpp:66:10: error: no matching function for call to 'Info::Info()'
   66 |     Info res;
      |          ^~~
0_0_39296188_292.cpp:32:5: note: candidate: 'Info::Info(int)'
   32 |     Info(int val){
      |     ^~~~
0_0_39296188_292.cpp:32:5: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(const Info&)'
   28 | struct Info{
      |        ^~~~
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(Info&&)'
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp: At global scope:
0_0_39296188_292.cpp:75:10: error: use of deleted function 'Segment_Tree::Segment_Tree()'
   75 | }seg[N<<2];
      |          ^
0_0_39296188_292.cpp:72:8: note: 'Segment_Tree::Segment_Tree()' is implicitly deleted because the default definition would be ill-formed:
   72 | struct Segment_Tree{
      |        ^~~~~~~~~~~~
0_0_39296188_292.cpp:72:8: error: no matching function for call to 'Info::Info()'
0_0_39296188_292.cpp:32:5: note: candidate: 'Info::Info(int)'
   32 |     Info(int val){
      |     ^~~~
0_0_39296188_292.cpp:32:5: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(const Info&)'
   28 | struct Info{
      |        ^~~~
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(Info&&)'
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp: In function 'void init()':
0_0_39296188_292.cpp:141:26: error: no matching function for call to 'Info::Info()'
  141 |         seg[i].info=Info();
      |                          ^
0_0_39296188_292.cpp:32:5: note: candidate: 'Info::Info(int)'
   32 |     Info(int val){
      |     ^~~~
0_0_39296188_292.cpp:32:5: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(const Info&)'
   28 | struct Info{
      |        ^~~~
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 provided
0_0_39296188_292.cpp:28:8: note: candidate: 'constexpr Info::Info(Info&&)'
0_0_39296188_292.cpp:28:8: note:   candidate expects 1 argument, 0 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-09-29 02:11:03, Gzip enabled