0_0_29496992_17351\Main.java:7: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29496992_17351\Main.java:7: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_29496992_17351\Main.java:8: 错误: 非法字符: '#'
#include <cmath>
^
0_0_29496992_17351\Main.java:9: 错误: 非法字符: '#'
#include <vector>
^
0_0_29496992_17351\Main.java:13: 错误: 非法的类型开始
public:
^
0_0_29496992_17351\Main.java:13: 错误: 需要';'
public:
^
0_0_29496992_17351\Main.java:14: 错误: 非法的类型开始
Point();
^
0_0_29496992_17351\Main.java:14: 错误: 需要<标识符>
Point();
^
0_0_29496992_17351\Main.java:17: 错误: 需要';'
Point operator-(Point p);
^
0_0_29496992_17351\Main.java:17: 错误: 需要';'
Point operator-(Point p);
^
0_0_29496992_17351\Main.java:18: 错误: 需要';'
double operator*(Point p);
^
0_0_29496992_17351\Main.java:18: 错误: 需要';'
double operator*(Point p);
^
0_0_29496992_17351\Main.java:21: 错误: 需要class, interface或enum
Point::Point(){
^
0_0_29496992_17351\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:27: 错误: 需要class, interface或enum
y = py;
^
0_0_29496992_17351\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:43: 错误: 非法的类型开始
public:
^
0_0_29496992_17351\Main.java:43: 错误: 需要';'
public:
^
0_0_29496992_17351\Main.java:44: 错误: 非法的类型开始
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要<标识符>
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要';'
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 非法的类型开始
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要<标识符>
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要';'
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 非法的类型开始
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要<标识符>
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要';'
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 非法的类型开始
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要<标识符>
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要';'
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 非法的类型开始
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要<标识符>
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:44: 错误: 需要';'
Segment(double x1, double y1, double x2, double y2);
^
0_0_29496992_17351\Main.java:45: 错误: 需要<标识符>
Point a, b;
^
0_0_29496992_17351\Main.java:50: 错误: 需要class, interface或enum
Segment::Segment(double x1, double y1, double x2, double y2){
^
0_0_29496992_17351\Main.java:52: 错误: 需要class, interface或enum
b = Point(x2, y2);
^
0_0_29496992_17351\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:58: 错误: 需要class, interface或enum
if(min(a.y, b.y) > p.y || p.y > max(a.y, b.y))
^
0_0_29496992_17351\Main.java:60: 错误: 需要class, interface或enum
return true;
^
0_0_29496992_17351\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:65: 错误: 需要class, interface或enum
double d2 = direction(s.a, s.b, b);
^
0_0_29496992_17351\Main.java:66: 错误: 需要class, interface或enum
double d3 = direction(a, b, s.a);
^
0_0_29496992_17351\Main.java:67: 错误: 需要class, interface或enum
double d4 = direction(a, b, s.b);
^
0_0_29496992_17351\Main.java:68: 错误: 需要class, interface或enum
if(d1 * d2 < 0 && d3 * d4 < 0)
^
0_0_29496992_17351\Main.java:70: 错误: 需要class, interface或enum
else if(abs(d1) < 1e-6 && s.onSegment(a))
^
0_0_29496992_17351\Main.java:72: 错误: 需要class, interface或enum
else if(abs(d2) < 1e-6 && s.onSegment(b))
^
0_0_29496992_17351\Main.java:74: 错误: 需要class, interface或enum
else if(abs(d3) < 1e-6 && onSegment(s.a))
^
0_0_29496992_17351\Main.java:76: 错误: 需要class, interface或enum
else if(abs(d4) < 1e-6 && onSegment(s.b))
^
0_0_29496992_17351\Main.java:78: 错误: 需要class, interface或enum
else
^
0_0_29496992_17351\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:84: 错误: 需要class, interface或enum
while(cin>>n){
^
0_0_29496992_17351\Main.java:87: 错误: 需要class, interface或enum
vector<Segment> segs;
^
0_0_29496992_17351\Main.java:88: 错误: 需要class, interface或enum
vector<bool> top(n, true);
^
0_0_29496992_17351\Main.java:89: 错误: 需要class, interface或enum
int cnt = n;
^
0_0_29496992_17351\Main.java:90: 错误: 需要class, interface或enum
double x1, x2, y1, y2;
^
0_0_29496992_17351\Main.java:91: 错误: 需要class, interface或enum
while(n-- > 0){
^
0_0_29496992_17351\Main.java:93: 错误: 需要class, interface或enum
Segment seg(x1, y1, x2, y2);
^
0_0_29496992_17351\Main.java:94: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:94: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:94: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:97: 错误: 需要class, interface或enum
cnt--;
^
0_0_29496992_17351\Main.java:98: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:103: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:103: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:103: 错误: 需要class, interface或enum
for(unsigned i = 0; i < segs.size(); i++){
^
0_0_29496992_17351\Main.java:106: 错误: 需要class, interface或enum
}
^
0_0_29496992_17351\Main.java:109: 错误: 需要class, interface或enum
}
^
71 个错误
|