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_13807576_32668.cpp:18:17: error: stray '#' in program
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                 ^
0_0_13807576_32668.cpp:18:34: error: stray '#' in program
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                                  ^
0_0_13807576_32668.cpp:19:17: error: stray '#' in program
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                 ^
0_0_13807576_32668.cpp:19:34: error: stray '#' in program
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                                  ^
0_0_13807576_32668.cpp:20:24: error: stray '#' in program
 inline ld sgn(const ld& x) { return abs(x) < EPS ? 0 : x/abs(x); }
                        ^
0_0_13807576_32668.cpp:21:30: error: stray '#' in program
 inline bool cmp_lex(const pt& a, const pt& b)
                              ^
0_0_13807576_32668.cpp:21:47: error: stray '#' in program
 inline bool cmp_lex(const pt& a, const pt& b)
                                               ^
0_0_13807576_32668.cpp:22:56: error: stray '#' in program
 { return a.real() < b.real() || (a.real() == b.real() && a.imag() < b.imag()); }
                                                        ^
0_0_13807576_32668.cpp:22:61: error: stray '#' in program
 { return a.real() < b.real() || (a.real() == b.real() && a.imag() < b.imag()); }
                                                             ^
0_0_13807576_32668.cpp:23:33: error: stray '#' in program
 inline bool cmp_lex_i(const pt &a, const pt &b)
                                 ^
0_0_13807576_32668.cpp:23:50: error: stray '#' in program
 inline bool cmp_lex_i(const pt &a, const pt &b)
                                                  ^
0_0_13807576_32668.cpp:24:56: error: stray '#' in program
 { return a.imag() < b.imag() || (a.imag() == b.imag() && a.real() < b.real()); }
                                                        ^
0_0_13807576_32668.cpp:24:61: error: stray '#' in program
 { return a.imag() < b.imag() || (a.imag() == b.imag() && a.real() < b.real()); }
                                                             ^
0_0_13807576_32668.cpp:31:11: error: stray '#' in program
   if(!s1 && !s2 && !s3) { // collinear
           ^
0_0_13807576_32668.cpp:31:16: error: stray '#' in program
   if(!s1 && !s2 && !s3) { // collinear
                ^
0_0_13807576_32668.cpp:31:26: error: stray '#' in program
   if(!s1 && !s2 && !s3) { // collinear
                          ^
0_0_13807576_32668.cpp:31:31: error: stray '#' in program
   if(!s1 && !s2 && !s3) { // collinear
                               ^
0_0_13807576_32668.cpp:33:30: error: stray '#' in program
     return !cmp_lex(b2, a1) && !cmp_lex(a2, b1);
                              ^
0_0_13807576_32668.cpp:33:35: error: stray '#' in program
     return !cmp_lex(b2, a1) && !cmp_lex(a2, b1);
                                   ^
0_0_13807576_32668.cpp:35:24: error: stray '#' in program
   } return s1*s2 <= 0 && s3*s4 <= 0; }
                        ^
0_0_13807576_32668.cpp:35:29: error: stray '#' in program
   } return s1*s2 <= 0 && s3*s4 <= 0; }
                             ^
0_0_13807576_32668.cpp:37:32: error: stray '#' in program
 inline pt line_inter(const pt &a, const pt &b, const pt &c, const pt &d){
                                ^
0_0_13807576_32668.cpp:37:49: error: stray '#' in program
 inline pt line_inter(const pt &a, const pt &b, const pt &c, const pt &d){
                                                 ^
0_0_13807576_32668.cpp:37:66: error: stray '#' in program
 inline pt line_inter(const pt &a, const pt &b, const pt &c, const pt &d){
                                                                  ^
0_0_13807576_32668.cpp:37:83: error: stray '#' in program
 inline pt line_inter(const pt &a, const pt &b, const pt &c, const pt &d){
                                                                                   ^
0_0_13807576_32668.cpp:41:31: error: stray '#' in program
 inline ld proj_dist(const pt &a, const pt &b, const pt &p){
                               ^
0_0_13807576_32668.cpp:41:48: error: stray '#' in program
 inline ld proj_dist(const pt &a, const pt &b, const pt &p){
                                                ^
0_0_13807576_32668.cpp:41:65: error: stray '#' in program
 inline ld proj_dist(const pt &a, const pt &b, const pt &p){
                                                                 ^
0_0_13807576_32668.cpp:45:29: error: stray '#' in program
 inline ld lp_dist(const pt &a, const pt &b, const pt &p){
                             ^
0_0_13807576_32668.cpp:45:46: error: stray '#' in program
 inline ld lp_dist(const pt &a, const pt &b, const pt &p){
                                              ^
0_0_13807576_32668.cpp:45:63: error: stray '#' in program
 inline ld lp_dist(const pt &a, const pt &b, const pt &p){
                                                               ^
0_0_13807576_32668.cpp:49:30: error: stray '#' in program
 inline ld lsp_dist(const pt &a, const pt &b, const pt &p){
                              ^
0_0_13807576_32668.cpp:49:47: error: stray '#' in program
 inline ld lsp_dist(const pt &a, const pt &b, const pt &p){
                                               ^
0_0_13807576_32668.cpp:49:64: error: stray '#' in program
 inline ld lsp_dist(const pt &a, const pt &b, const pt &p){
                                                                ^
0_0_13807576_32668.cpp:50:32: error: stray '#' in program
   return dp(b - a, p - a) > 0 && dp(a - b, p - b) > 0 ?
                                ^
0_0_13807576_32668.cpp:50:37: error: stray '#' in program
   return dp(b - a, p - a) > 0 && dp(a - b, p - b) > 0 ?
                                     ^
0_0_13807576_32668.cpp:54:33: error: stray '#' in program
 inline pt lsp_closest(const pt &a, const pt &b, const pt &p){
                                 ^
0_0_13807576_32668.cpp:54:50: error: stray '#' in program
 inline pt lsp_closest(const pt &a, const pt &b, const pt &p){
                                                  ^
0_0_13807576_32668.cpp:54:67: error: stray '#' in program
 inline pt lsp_closest(const pt &a, const pt &b, const pt &p){
                                                                   ^
0_0_13807576_32668.cpp:55:29: error: stray '#' in program
   if (dp(b - a, p - a) > 0 && dp(a - b, p - b) > 0)
                             ^
0_0_13807576_32668.cpp:55:34: error: stray '#' in program
   if (dp(b - a, p - a) > 0 && dp(a - b, p - b) > 0)
                                  ^
0_0_13807576_32668.cpp:86:50: error: stray '#' in program
     while(cin >> ax>>ay>>bx>>by>>cx>>cy>>dx>>dy && 
                                                  ^
0_0_13807576_32668.cpp:86:55: error: stray '#' in program
     while(cin >> ax>>ay>>bx>>by>>cx>>cy>>dx>>dy && 
                                                       ^
0_0_13807576_32668.cpp:112:64: error: stray '#' in program
             cout << fixed << setprecision(3) << area(p[i]) << " " << peri(p[i]);
                                                                ^
0_0_13807576_32668.cpp:112:70: error: stray '#' in program
             cout << fixed << setprecision(3) << area(p[i]) << " " << peri(p[i]);
                                                                      ^
0_0_13807576_32668.cpp:113:30: error: stray '#' in program
             if(i<3) cout << " ";
                              ^
0_0_13807576_32668.cpp:113:36: error: stray '#' in program
             if(i<3) cout << " ";
                                    ^
0_0_13807576_32668.cpp:18:18: error: expected ',' or '...' before numeric constant
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                  ^
0_0_13807576_32668.cpp:18:20: error: expected ')' before ';' token
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                    ^
0_0_13807576_32668.cpp:18:21: error: 'a' does not name a type
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                     ^
0_0_13807576_32668.cpp:18:38: error: 'b' does not name a type
 ld cp(const pt &a, const pt &b) { return a.real()*b.imag() - b.real()*a.imag();}
                                      ^
0_0_13807576_32668.cpp:19:18: error: expected ',' or '...' before numeric constant
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                  ^
0_0_13807576_32668.cpp:19:20: error: expected ')' before ';' token
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                    ^
0_0_13807576_32668.cpp:19:21: error: 'a' does not name a type
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                     ^
0_0_13807576_32668.cpp:19:38: error: 'b' does not name a type
 ld dp(const pt &a, const pt &b) { return a.real()*b.real() + a.imag()*b.imag();}
                                      ^
0_0_13807576_32668.cpp:20:25: error:


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-29 22:25:55, Gzip enabled