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_39378941_22675.cpp:13:8: error: no matching function for call to 'scanline::scanline()'
   13 | }line[N];
      |        ^
0_0_39378941_22675.cpp:12:5: note: candidate: 'scanline::scanline(double, double, double, int)'
   12 |     scanline(double yy,double x2,double x1,int io):y(yy),right_x(x2),left_x(x1),inout(io){}
      |     ^~~~~~~~
0_0_39378941_22675.cpp:12:5: note:   candidate expects 4 arguments, 0 provided
0_0_39378941_22675.cpp:8:8: note: candidate: 'constexpr scanline::scanline(const scanline&)'
    8 | struct scanline{
      |        ^~~~~~~~
0_0_39378941_22675.cpp:8:8: note:   candidate expects 1 argument, 0 provided
0_0_39378941_22675.cpp:8:8: note: candidate: 'constexpr scanline::scanline(scanline&&)'
0_0_39378941_22675.cpp:8: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-22 17:39:23, Gzip enabled