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_19940770_18242.cpp:4:2: error: invalid preprocessing directive #inciude
 #inciude<cmath>
  ^
0_0_19940770_18242.cpp:12:2: error: invalid preprocessing directive #inciude
 #inciude<queue>
  ^
0_0_19940770_18242.cpp:259:1: error: missing terminating ' character
 n } ' H ...........
 ^
0_0_19940770_18242.cpp:296:1: error: stray '\260' in program
 printf("Case #%d: "ytest++); if(°k){
 ^
0_0_19940770_18242.cpp:25:14: error: 'lel8' was not declared in this scope
 const ll INF=lel8+10; 
              ^
0_0_19940770_18242.cpp: In function 'bool operator<(const point&, const point&)':
0_0_19940770_18242.cpp:42:131: error: expected ';' before '}' token
 friend bool operator < (const point &a, const point &b) { return sgn(a.x - b.x) < 0 || (sgn(a.x - b.x) == 0 && sgn(a.y - b.y) < 0)}
                                                                                                                                   ^
0_0_19940770_18242.cpp: In function 'double dot(const point&, const point&)':
0_0_19940770_18242.cpp:46:79: error: expected ':' before ';' token
 friend double dot(const point &a, const point &b){ return a.x ?b.x + a.y * b.y; }
                                                                               ^
0_0_19940770_18242.cpp:46:79: error: expected primary-expression before ';' token
0_0_19940770_18242.cpp: In function 'point intersection(point, point, point, point)':
0_0_19940770_18242.cpp:48:113: error: expected ':' before ')' token
 friend point intersection(point ul,point u2,point vl,point v2){return ul+det(ul-vl,vl-v2)/det(ul-u2,vl-v2)?u2-ul);}
                                                                                                                 ^
0_0_19940770_18242.cpp:48:113: error: expected primary-expression before ')' token
0_0_19940770_18242.cpp:48:113: error: expected ';' before ')' token
0_0_19940770_18242.cpp:48:113: error: expected primary-expression before ')' token
0_0_19940770_18242.cpp: At global scope:
0_0_19940770_18242.cpp:65:20: error: 'oust' has not been declared
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                    ^
0_0_19940770_18242.cpp:65:31: error: expected ',' or '...' before '&' token
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                               ^
0_0_19940770_18242.cpp:73:15: error: 'C' has not been declared
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
               ^
0_0_19940770_18242.cpp:73:22: error: expected ')' before 'point'
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                      ^
0_0_19940770_18242.cpp:73:22: error: expected ')' before 'point'
0_0_19940770_18242.cpp:73:18: error: expected ';' at end of member declaration
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                  ^
0_0_19940770_18242.cpp:73:32: error: expected ';' at end of member declaration
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                                ^
0_0_19940770_18242.cpp:73:45: error: expected ';' at end of member declaration
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                                             ^
0_0_19940770_18242.cpp:73:47: error: expected unqualified-id before ')' token
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                                               ^
0_0_19940770_18242.cpp:87:30: error: expected ',' or '...' before numeric constant
 friend line move(const line &1, ::onst double &d){
                              ^
0_0_19940770_18242.cpp:303:1: error: expected '}' at end of input
 }
 ^
0_0_19940770_18242.cpp: In constructor 'line::line(const point&, const point&)':
0_0_19940770_18242.cpp:61:1: error: uninitialized reference member in 'struct point&' [-fpermissive]
 line(const point &s = point(), const point &t = point()): s(s), t(t) {}
 ^
0_0_19940770_18242.cpp:73:29: note: 'point& line::pl' should be initialized
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                             ^
0_0_19940770_18242.cpp:61:1: error: uninitialized reference member in 'struct point&' [-fpermissive]
 line(const point &s = point(), const point &t = point()): s(s), t(t) {}
 ^
0_0_19940770_18242.cpp:73:45: note: 'point& line::p2' should be initialized
 bool sameside(C( nst point &pl,consi point &p2){ return relation(pl) == relation(p2); }
                                             ^
0_0_19940770_18242.cpp: In member function 'bool line::is_point_line(const point&) const':
0_0_19940770_18242.cpp:64:74: error: lvalue required as left operand of assignment
 bool is_point_line(const point &p) const { return sgn(det(p - s, t - s)) = 0; }
                                                                          ^
0_0_19940770_18242.cpp: In member function 'bool line::is_point_seg(int) const':
0_0_19940770_18242.cpp:65:50: error: 'is_point' was not declared in this scope
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                                                  ^
0_0_19940770_18242.cpp:65:59: error: expected ';' before 'JLine'
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                                                           ^
0_0_19940770_18242.cpp:65:65: error: 'p' was not declared in this scope
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                                                                 ^
0_0_19940770_18242.cpp:65:66: error: 'JLine' was not declared in this scope
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                                                                  ^
0_0_19940770_18242.cpp:65:91: error: 'dot' was not declared in this scope
 bool is_point_seg( oust point &p) const { return is_point JLine(p) && sgn(dot(p - s, p - t)) <= 0; } 
                                                                                           ^
0_0_19940770_18242.cpp: In member function 'double line::dis_point_line(const point&)':
0_0_19940770_18242.cpp:68:79: error: 'norro' was not declared in this scope
 double dis_point_line(const point &p) { return fabs(det(p - s, vec()) / norro()); }
                                                                               ^
0_0_19940770_18242.cpp: In function 'point intersection_line_line(const line&, const line&)':
0_0_19940770_18242.cpp:76:70: error: expected primary-expression before '.' token
 friend point intersection_line_line(const line &l1, const line &l2) {. double si = det(l1.s - l2.s, l2.vec()); 
                                                                      ^
0_0_19940770_18242.cpp:76:72: error: expected unqualified-id before 'double'
 friend point intersection_line_line(const line &l1, const line &l2) {. double si = det(l1.s - l2.s, l2.vec()); 
                                                                        ^
0_0_19940770_18242.cpp:77:19: error: expected primary-expression before '.' token
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                   ^
0_0_19940770_18242.cpp:77:24: error: unable to find numeric literal operator 'operator""s'
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                        ^
0_0_19940770_18242.cpp:77:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_19940770_18242.cpp:77:30: error: unable to find numeric literal operator 'operator""vec'
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                              ^
0_0_19940770_18242.cpp:77:30: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_19940770_18242.cpp:77:38: error: 'det' was not declared in this scope
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                                      ^
0_0_19940770_18242.cpp:77:49: error: 'il' was not declared in this scope
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                                                 ^
0_0_19940770_18242.cpp:77:56: error: 'si' was not declared in this scope
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                                                        ^
0_0_19940770_18242.cpp:77:61: error: unable to find numeric literal operator 'operator""s'
 double s2 = det(ll.t - 12.s, 12.vec()); return (il.t * si - 11.s * s2) / (si - s2);
                                                             ^
0_0_19940770_18242.cpp:77:61: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_19940770_18242.cpp: In function 'bool is_seg_seg(line, line)':
0_0_19940770_18242.cpp:81:49: error: unable to find numeric literal operator 'operator""t'
 if(!sgn(det(l2.s - l1.s, l1.vec())) && !sgn(det(12.t - 11.s, ll.vec()))){
                                                 ^
0_0_19940770_18242.cpp:81:49: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_19940770_18242.cpp:81:56: error: unable to find numeric literal operator 'operator""s'
 if(!sgn(det(l2.s - l1.s, l1.vec())) && !sgn(det(12.t - 11.s, ll.


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-21 13:28:57, Gzip enabled