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_36452075_31805.cpp: In function 'int main()':
0_0_36452075_31805.cpp:49:36: error: no matching function for call to 'Interval::Interval(int, int)'
   lst[st].push_back(Interval( 1, 1 ));
                                    ^
0_0_36452075_31805.cpp:49:36: note: candidates are:
0_0_36452075_31805.cpp:24:8: note: Interval::Interval()
 struct Interval {
        ^
0_0_36452075_31805.cpp:24:8: note:   candidate expects 0 arguments, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(const Interval&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(Interval&&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:56:51: error: no matching function for call to 'Interval::Interval(int&, int)'
       nowL.push_back(Interval(las, mine[now].y - 1));
                                                   ^
0_0_36452075_31805.cpp:56:51: note: candidates are:
0_0_36452075_31805.cpp:24:8: note: Interval::Interval()
 struct Interval {
        ^
0_0_36452075_31805.cpp:24:8: note:   candidate expects 0 arguments, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(const Interval&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(Interval&&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:62:36: error: no matching function for call to 'Interval::Interval(int&, int&)'
      nowL.push_back(Interval(las, m));
                                    ^
0_0_36452075_31805.cpp:62:36: note: candidates are:
0_0_36452075_31805.cpp:24:8: note: Interval::Interval()
 struct Interval {
        ^
0_0_36452075_31805.cpp:24:8: note:   candidate expects 0 arguments, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(const Interval&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(Interval&&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:66:33: error: no matching function for call to 'Interval::Interval(int, int&)'
     nowL.push_back(Interval(1, m));
                                 ^
0_0_36452075_31805.cpp:66:33: note: candidates are:
0_0_36452075_31805.cpp:24:8: note: Interval::Interval()
 struct Interval {
        ^
0_0_36452075_31805.cpp:24:8: note:   candidate expects 0 arguments, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(const Interval&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(Interval&&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:82:42: error: no matching function for call to 'Interval::Interval(int&, int&)'
      lst[st ^ 1].push_back(Interval(l, r2));
                                          ^
0_0_36452075_31805.cpp:82:42: note: candidates are:
0_0_36452075_31805.cpp:24:8: note: Interval::Interval()
 struct Interval {
        ^
0_0_36452075_31805.cpp:24:8: note:   candidate expects 0 arguments, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(const Interval&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 provided
0_0_36452075_31805.cpp:24:8: note: constexpr Interval::Interval(Interval&&)
0_0_36452075_31805.cpp:24:8: note:   candidate expects 1 argument, 2 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-24 17:05:01, Gzip enabled