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_28498488_17500.cpp:8:15: error: no matching function for call to 'node::node()'
 node p[maxn<<1],x[maxn<<1];
               ^
0_0_28498488_17500.cpp:8:15: note: candidates are:
0_0_28498488_17500.cpp:6:5: note: node::node(double, double, double, double)
     node(double u,double v,double c,double d) : x1(u),y1(v),x2(c),y2(d){};
     ^
0_0_28498488_17500.cpp:6:5: note:   candidate expects 4 arguments, 0 provided
0_0_28498488_17500.cpp:4:8: note: constexpr node::node(const node&)
 struct node{
        ^
0_0_28498488_17500.cpp:4:8: note:   candidate expects 1 argument, 0 provided
0_0_28498488_17500.cpp:4:8: note: constexpr node::node(node&&)
0_0_28498488_17500.cpp:4:8: note:   candidate expects 1 argument, 0 provided
0_0_28498488_17500.cpp:8:26: error: no matching function for call to 'node::node()'
 node p[maxn<<1],x[maxn<<1];
                          ^
0_0_28498488_17500.cpp:8:26: note: candidates are:
0_0_28498488_17500.cpp:6:5: note: node::node(double, double, double, double)
     node(double u,double v,double c,double d) : x1(u),y1(v),x2(c),y2(d){};
     ^
0_0_28498488_17500.cpp:6:5: note:   candidate expects 4 arguments, 0 provided
0_0_28498488_17500.cpp:4:8: note: constexpr node::node(const node&)
 struct node{
        ^
0_0_28498488_17500.cpp:4:8: note:   candidate expects 1 argument, 0 provided
0_0_28498488_17500.cpp:4:8: note: constexpr node::node(node&&)
0_0_28498488_17500.cpp:4:8: note:   candidate expects 1 argument, 0 provided
0_0_28498488_17500.cpp:13:18: error: no matching function for call to 'node2::node2()'
 node2 nod[maxn<<1];
                  ^
0_0_28498488_17500.cpp:13:18: note: candidates are:
0_0_28498488_17500.cpp:11:5: note: node2::node2(int, int, double, int)
     node2(int u,int v,double c,int d) : x1(u),x2(v),h(c),k(d){};
     ^
0_0_28498488_17500.cpp:11:5: note:   candidate expects 4 arguments, 0 provided
0_0_28498488_17500.cpp:9:8: note: constexpr node2::node2(const node2&)
 struct node2{
        ^
0_0_28498488_17500.cpp:9:8: note:   candidate expects 1 argument, 0 provided
0_0_28498488_17500.cpp:9:8: note: constexpr node2::node2(node2&&)
0_0_28498488_17500.cpp:9: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-11-27 01:07:23, Gzip enabled