0_0_34654069_5563\Main.java:2: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_34654069_5563\Main.java:2: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_34654069_5563\Main.java:5: 错误: 非法字符: '#'
#define eps 1e-10
^
0_0_34654069_5563\Main.java:5: 错误: 需要class, interface或enum
#define eps 1e-10
^
0_0_34654069_5563\Main.java:6: 错误: 需要class, interface或enum
struct point{ double x,y; };
^
0_0_34654069_5563\Main.java:7: 错误: 需要class, interface或enum
struct V{ point s,e; };
^
0_0_34654069_5563\Main.java:7: 错误: 需要class, interface或enum
struct V{ point s,e; };
^
0_0_34654069_5563\Main.java:9: 错误: 需要class, interface或enum
bool inter(point a,point b,point c,point d){
^
0_0_34654069_5563\Main.java:15: 错误: 需要class, interface或enum
double h,i,j,k;
^
0_0_34654069_5563\Main.java:16: 错误: 需要class, interface或enum
h = (b.x-a.x)*(c.y-a.y) - (b.y-a.y)*(c.x-a.x);
^
0_0_34654069_5563\Main.java:17: 错误: 需要class, interface或enum
i = (b.x-a.x)*(d.y-a.y) - (b.y-a.y)*(d.x-a.x);
^
0_0_34654069_5563\Main.java:18: 错误: 需要class, interface或enum
j = (d.x-c.x)*(a.y-c.y) - (d.y-c.y)*(a.x-c.x);
^
0_0_34654069_5563\Main.java:19: 错误: 需要class, interface或enum
k = (d.x-c.x)*(b.y-c.y) - (d.y-c.y)*(b.x-c.x);
^
0_0_34654069_5563\Main.java:20: 错误: 需要class, interface或enum
return h*i<=eps && j*k<=eps;
^
0_0_34654069_5563\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_34654069_5563\Main.java:24: 错误: 需要class, interface或enum
V vct[110];
^
0_0_34654069_5563\Main.java:25: 错误: 需要class, interface或enum
while(~scanf("%d",&n) && n){
^
0_0_34654069_5563\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<n;i++) scanf("%lf%lf%lf%lf",&vct[i].s.x,&vct[i].s.y,&vct[i].e.x,&vct[i].e.y);
^
0_0_34654069_5563\Main.java:26: 错误: 需要class, interface或enum
for(int i=0;i<n;i++) scanf("%lf%lf%lf%lf",&vct[i].s.x,&vct[i].s.y,&vct[i].e.x,&vct[i].e.y);
^
0_0_34654069_5563\Main.java:27: 错误: 需要class, interface或enum
int cnt = 0;
^
0_0_34654069_5563\Main.java:28: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_34654069_5563\Main.java:28: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_34654069_5563\Main.java:28: 错误: 需要class, interface或enum
for(int i=0;i<n;i++){
^
0_0_34654069_5563\Main.java:29: 错误: 需要class, interface或enum
for(int j=i+1;j<n;j++){
^
0_0_34654069_5563\Main.java:29: 错误: 需要class, interface或enum
for(int j=i+1;j<n;j++){
^
0_0_34654069_5563\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_34654069_5563\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_34654069_5563\Main.java:36: 错误: 需要class, interface或enum
}
^
28 个错误
|