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_35509233_7016.cpp: In function 'void solve()':
0_0_35509233_7016.cpp:469:24: error: 'eps' was not declared in this scope
  line t(a, {a.x + vx * eps * 2, a.y + vy * eps * 2});
                        ^
0_0_35509233_7016.cpp:469:24: note: suggested alternative:
0_0_35509233_7016.cpp:82:11: note:   'Geo::eps'
  const db eps = 1e-8, PI = acos(-1), inf = numeric_limits<db>::max();
           ^
0_0_35509233_7016.cpp:469:52: error: no matching function for call to 'Geo::Line::Line(point&, <brace-enclosed initializer list>)'
  line t(a, {a.x + vx * eps * 2, a.y + vy * eps * 2});
                                                    ^
0_0_35509233_7016.cpp:469:52: note: candidates are:
0_0_35509233_7016.cpp:119:3: note: Geo::Line::Line()
   Line() = default;
   ^
0_0_35509233_7016.cpp:119:3: note:   candidate expects 0 arguments, 2 provided
0_0_35509233_7016.cpp:118:3: note: Geo::Line::Line(const Geo::Point&, const Geo::Point&)
   Line(const Point& _a, const Point& _b) : u(_a), v(_b) {}
   ^
0_0_35509233_7016.cpp:118:3: note:   no known conversion for argument 2 from '<brace-enclosed initializer list>' to 'const Geo::Point&'
0_0_35509233_7016.cpp:116:9: note: constexpr Geo::Line::Line(const Geo::Line&)
  struct Line {
         ^
0_0_35509233_7016.cpp:116:9: note:   candidate expects 1 argument, 2 provided
0_0_35509233_7016.cpp:116:9: note: constexpr Geo::Line::Line(Geo::Line&&)
0_0_35509233_7016.cpp:116:9: 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-22 21:17:03, Gzip enabled