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_20601047_14383.cpp: In function 'Point projection(Point, Line)':
0_0_20601047_14383.cpp:73:14: error: 'struct Line' has no member named 's'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
              ^
0_0_20601047_14383.cpp:73:23: error: 'struct Line' has no member named 'e'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                       ^
0_0_20601047_14383.cpp:73:27: error: 'struct Line' has no member named 's'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                           ^
0_0_20601047_14383.cpp:73:40: error: 'struct Line' has no member named 'e'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                                        ^
0_0_20601047_14383.cpp:73:44: error: 'struct Line' has no member named 's'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                                            ^
0_0_20601047_14383.cpp:73:51: error: 'struct Line' has no member named 's'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                                                   ^
0_0_20601047_14383.cpp:73:64: error: 'struct Line' has no member named 'e'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                                                                ^
0_0_20601047_14383.cpp:73:68: error: 'struct Line' has no member named 's'
     return a.s + (((a.e-a.s) * dmul (a.e-a.s, p-a.s)) / len2(a.e-a.s) );
                                                                    ^


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-16 11:08:44, Gzip enabled