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_13805686_10673.cpp:2:4: error: stray '#' in program
  2 #include <iomanip>
    ^
0_0_13805686_10673.cpp:3:4: error: stray '#' in program
  3 #include <cmath>
    ^
0_0_13805686_10673.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include <iomanip>
  ^
0_0_13805686_10673.cpp:5:2: error: expected unqualified-id before numeric constant
  5 struct Point {double x,y;}; //点
  ^
0_0_13805686_10673.cpp:6:2: error: expected unqualified-id before numeric constant
  6 struct Ldir{double dx,dy;}; //方向向量
  ^
0_0_13805686_10673.cpp:7:2: error: expected unqualified-id before numeric constant
  7 struct Lline{Point p; Ldir dir;}; //直线
  ^
0_0_13805686_10673.cpp:8:2: error: expected unqualified-id before numeric constant
  8 // 计算直线的一般式 Ax+By+C=0
  ^
0_0_13805686_10673.cpp:15:1: error: expected unqualified-id before numeric constant
 15 // 求点p1关于直线ln的对称点p2
 ^
0_0_13805686_10673.cpp:25:1: error: expected unqualified-id before numeric constant
 25 //求线段交点 
 ^
0_0_13805686_10673.cpp:31:1: error: expected unqualified-id before numeric constant
 31 TLine lineFromSegment(Point p1, Point p2) 
 ^
0_0_13805686_10673.cpp:39:1: error: expected unqualified-id before numeric constant
 39 /*求直线的交点,注意平形的情况无解,避免RE*/
 ^
0_0_13805686_10673.cpp:41:1: error: expected unqualified-id before numeric constant
 41 Point LineInter(TLine l1, TLine l2)
 ^


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-23 02:01:36, Gzip enabled