0_0_39106019_24653\Main.java:1: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39106019_24653\Main.java:1: 错误: 需要class, interface或enum
#include<algorithm>
^
0_0_39106019_24653\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39106019_24653\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39106019_24653\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_39106019_24653\Main.java:5: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_39106019_24653\Main.java:6: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39106019_24653\Main.java:7: 错误: 非法字符: '#'
#include<iomanip>
^
0_0_39106019_24653\Main.java:8: 错误: 非法字符: '#'
#include<list>
^
0_0_39106019_24653\Main.java:9: 错误: 非法字符: '#'
#include<map>
^
0_0_39106019_24653\Main.java:10: 错误: 非法字符: '#'
#include<queue>
^
0_0_39106019_24653\Main.java:11: 错误: 非法字符: '#'
#include<sstream>
^
0_0_39106019_24653\Main.java:12: 错误: 非法字符: '#'
#include<stack>
^
0_0_39106019_24653\Main.java:13: 错误: 非法字符: '#'
#include<string>
^
0_0_39106019_24653\Main.java:14: 错误: 非法字符: '#'
#include<set>
^
0_0_39106019_24653\Main.java:15: 错误: 非法字符: '#'
#include<vector>
^
0_0_39106019_24653\Main.java:17: 错误: 非法字符: '#'
#define PI acos(-1.0)
^
0_0_39106019_24653\Main.java:17: 错误: 需要class, interface或enum
#define PI acos(-1.0)
^
0_0_39106019_24653\Main.java:18: 错误: 非法字符: '#'
#define EXP exp(1)
^
0_0_39106019_24653\Main.java:19: 错误: 非法字符: '#'
#define pppp cout<<endl;
^
0_0_39106019_24653\Main.java:20: 错误: 非法字符: '#'
#define EPS 1e-8
^
0_0_39106019_24653\Main.java:20: 错误: 需要class, interface或enum
#define EPS 1e-8
^
0_0_39106019_24653\Main.java:21: 错误: 非法字符: '#'
#define LL long long
^
0_0_39106019_24653\Main.java:22: 错误: 非法字符: '#'
#define ULL unsigned long long //1844674407370955161
^
0_0_39106019_24653\Main.java:23: 错误: 非法字符: '#'
#define INT_INF 0x3f3f3f3f //1061109567
^
0_0_39106019_24653\Main.java:24: 错误: 非法字符: '#'
#define LL_INF 0x3f3f3f3f3f3f3f3f //4557430888798830399
^
0_0_39106019_24653\Main.java:28: 错误: 需要class, interface或enum
const int dc[]= {-1, 1, 0, 0, -1, 1, -1, 1};
^
0_0_39106019_24653\Main.java:29: 错误: 需要class, interface或enum
inline int read()//输入外挂
^
0_0_39106019_24653\Main.java:32: 错误: 需要class, interface或enum
char ch;
^
0_0_39106019_24653\Main.java:33: 错误: 需要class, interface或enum
if((ch=getchar())=='-')
^
0_0_39106019_24653\Main.java:35: 错误: 需要class, interface或enum
else if(ch>='0'&&ch<='9')
^
0_0_39106019_24653\Main.java:37: 错误: 需要class, interface或enum
while((ch=getchar())>='0'&&ch<='9')
^
0_0_39106019_24653\Main.java:39: 错误: 需要class, interface或enum
return flag ? -ret : ret;
^
0_0_39106019_24653\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:42: 错误: 需要class, interface或enum
struct Point
^
0_0_39106019_24653\Main.java:45: 错误: 需要class, interface或enum
double y;
^
0_0_39106019_24653\Main.java:47: 错误: 需要class, interface或enum
Point() {}
^
0_0_39106019_24653\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:62: 错误: 需要class, interface或enum
return false;
^
0_0_39106019_24653\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:65: 错误: 需要class, interface或enum
struct Line
^
0_0_39106019_24653\Main.java:68: 错误: 需要class, interface或enum
Point b;
^
0_0_39106019_24653\Main.java:69: 错误: 需要class, interface或enum
Line() {}
^
0_0_39106019_24653\Main.java:72: 错误: 需要class, interface或enum
int n,m;
^
0_0_39106019_24653\Main.java:73: 错误: 需要class, interface或enum
double Cross(Point a, Point b)//叉积
^
0_0_39106019_24653\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:93: 错误: 需要class, interface或enum
double KL1,KL2;
^
0_0_39106019_24653\Main.java:94: 错误: 需要class, interface或enum
if( fabs(L1.a.x-L1.b.x)>EPS )//直线L1不平行于y轴没有斜率
^
0_0_39106019_24653\Main.java:97: 错误: 需要class, interface或enum
state+=1;
^
0_0_39106019_24653\Main.java:98: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:102: 错误: 需要class, interface或enum
state+=2;
^
0_0_39106019_24653\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:108: 错误: 需要class, interface或enum
return 0;
^
0_0_39106019_24653\Main.java:109: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:115: 错误: 需要class, interface或enum
double Y2=L2.a.y-L2.a.x*KL2;//直线L2的截距
^
0_0_39106019_24653\Main.java:116: 错误: 需要class, interface或enum
if( fabs(Y1-Y2)<EPS )
^
0_0_39106019_24653\Main.java:118: 错误: 需要class, interface或enum
return 4;
^
0_0_39106019_24653\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:121: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:132: 错误: 需要class, interface或enum
double KL1=(L1.b.y-L1.a.y)/(L1.b.x-L1.a.x);//斜率L1
^
0_0_39106019_24653\Main.java:133: 错误: 需要class, interface或enum
double y=(L2.a.x-L1.a.x)*KL1+L1.a.y;
^
0_0_39106019_24653\Main.java:134: 错误: 需要class, interface或enum
return Point(x,y);
^
0_0_39106019_24653\Main.java:135: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:139: 错误: 需要class, interface或enum
double KL2=(L2.b.y-L2.a.y)/(L2.b.x-L2.a.x);//斜率L2
^
0_0_39106019_24653\Main.java:140: 错误: 需要class, interface或enum
double y=(L1.a.x-L2.a.x)*KL2+L2.a.y;
^
0_0_39106019_24653\Main.java:141: 错误: 需要class, interface或enum
return Point(x,y);
^
0_0_39106019_24653\Main.java:142: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:146: 错误: 需要class, interface或enum
double KL2=(L2.b.y-L2.a.y)/(L2.b.x-L2.a.x);//斜率L2
^
0_0_39106019_24653\Main.java:147: 错误: 需要class, interface或enum
double x=(L1.a.x*KL1-L2.a.x*KL2-L1.a.y+L2.a.y)/(KL1-KL2);
^
0_0_39106019_24653\Main.java:148: 错误: 需要class, interface或enum
double y=KL1*x-KL1*L1.a.x+L1.a.y;
^
0_0_39106019_24653\Main.java:149: 错误: 需要class, interface或enum
return Point(x,y);
^
0_0_39106019_24653\Main.java:150: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:163: 错误: 需要class, interface或enum
return 0;
^
0_0_39106019_24653\Main.java:164: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:168: 错误: 需要class, interface或enum
if( tmp < 0.0 || fabs(tmp) < EPS )
^
0_0_39106019_24653\Main.java:170: 错误: 需要class, interface或enum
return 2;
^
0_0_39106019_24653\Main.java:171: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:176: 错误: 需要class, interface或enum
return LineIntersection(S1,S2,state);
^
0_0_39106019_24653\Main.java:177: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:182: 错误: 需要class, interface或enum
return a.x<b.x;
^
0_0_39106019_24653\Main.java:183: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:187: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:193: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:195: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:199: 错误: 需要class, interface或enum
Point p1=p[0];
^
0_0_39106019_24653\Main.java:200: 错误: 需要class, interface或enum
Point p2;
^
0_0_39106019_24653\Main.java:201: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_39106019_24653\Main.java:201: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_39106019_24653\Main.java:201: 错误: 需要class, interface或enum
for(int i=1; i<=n; ++i)
^
0_0_39106019_24653\Main.java:204: 错误: 需要class, interface或enum
if(on_line(p1,p2,a))//表示点在线段上,根据不同要求
^
0_0_39106019_24653\Main.java:207: 错误: 需要class, interface或enum
break;
^
0_0_39106019_24653\Main.java:208: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:219: 错误: 需要class, interface或enum
if( p1.x==p2.x || a.x<=tem)
^
0_0_39106019_24653\Main.java:221: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:226: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:229: 错误: 需要class, interface或enum
else
^
0_0_39106019_24653\Main.java:231: 错误: 需要class, interface或enum
}
^
0_0_39106019_24653\Main.java:235: 错误: 需要class,
|