0_0_6365614_18767\Main.java:1: illegal character: \35
#include<stdio.h>
^
0_0_6365614_18767\Main.java:2: illegal character: \35
#include<string.h>
^
0_0_6365614_18767\Main.java:3: illegal character: \35
#include<math.h>
^
0_0_6365614_18767\Main.java:4: illegal character: \35
#include<iostream>
^
0_0_6365614_18767\Main.java:5: illegal character: \35
#include<string>
^
0_0_6365614_18767\Main.java:6: illegal character: \35
#include<algorithm>
^
0_0_6365614_18767\Main.java:7: illegal character: \35
#define N 52000
^
0_0_6365614_18767\Main.java:8: illegal character: \35
#define M 250
^
0_0_6365614_18767\Main.java:9: illegal character: \35
#define INF 0xFFFFFFF
^
0_0_6365614_18767\Main.java:11: class, interface, or enum expected
const double eps = 1e-8;
^
0_0_6365614_18767\Main.java:12: class, interface, or enum expected
const double inf = 10000;
^
0_0_6365614_18767\Main.java:13: class, interface, or enum expected
const int maxP = 1100;
^
0_0_6365614_18767\Main.java:14: class, interface, or enum expected
const double PI = acos(-1.0);
^
0_0_6365614_18767\Main.java:16: class, interface, or enum expected
inline double sqr(double d) {
^
0_0_6365614_18767\Main.java:18: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:21: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:25: class, interface, or enum expected
Point() {
^
0_0_6365614_18767\Main.java:32: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:36: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:39: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:42: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:45: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:48: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:51: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:54: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:57: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:60: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:63: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:66: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:69: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:72: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:75: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:79: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:83: class, interface, or enum expected
double Cos(cos(angle) * k) , Sin(sin(angle) * k);
^
0_0_6365614_18767\Main.java:84: class, interface, or enum expected
return p + Point(vec.x * Cos - vec.y * Sin, vec.x * Sin + vec.y * Cos);
^
0_0_6365614_18767\Main.java:85: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:88: class, interface, or enum expected
struct Line {
^
0_0_6365614_18767\Main.java:90: class, interface, or enum expected
Line() {
^
0_0_6365614_18767\Main.java:100: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:103: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:106: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:109: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:112: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:115: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:119: class, interface, or enum expected
if ( dcmp(s2 - s1) == 0 ) return false;
^
0_0_6365614_18767\Main.java:120: class, interface, or enum expected
p = ( a * s2 - b * s1 ) / ( s2 - s1 );
^
0_0_6365614_18767\Main.java:121: class, interface, or enum expected
return ( dcmp(v / p) <= 0 && dcmp(( *this ) / p) <= 0 );
^
0_0_6365614_18767\Main.java:122: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:125: class, interface, or enum expected
int d2 = dcmp(( *this ) * v.b);
^
0_0_6365614_18767\Main.java:126: class, interface, or enum expected
int d3 = dcmp(v * a);
^
0_0_6365614_18767\Main.java:127: class, interface, or enum expected
int d4 = dcmp(v * b);
^
0_0_6365614_18767\Main.java:128: class, interface, or enum expected
if ( ( d1 ^ d2 ) == -2 && ( d3 ^ d4 ) == -2 ) return 2;
^
0_0_6365614_18767\Main.java:129: class, interface, or enum expected
return ( ( d1 == 0 && dcmp(( *this ) / v.a) <= 0 )
^
0_0_6365614_18767\Main.java:133: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:136: class, interface, or enum expected
if ( ( d1 ^ d2 ) == -2 ) return 2;
^
0_0_6365614_18767\Main.java:137: class, interface, or enum expected
return ( d1 == 0 || d2 == 0 );
^
0_0_6365614_18767\Main.java:138: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:142: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:144: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:148: class, interface, or enum expected
return ( a * s2 - b * s1 ) / ( s2 - s1 );
^
0_0_6365614_18767\Main.java:149: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:153: class, interface, or enum expected
Point q = p + ( a - b ).turnLeft();
^
0_0_6365614_18767\Main.java:154: class, interface, or enum expected
if ( ( ( p - a ) * ( q - a ) ) * ( ( p - b ) * ( q - b ) ) > 0 ) {
^
0_0_6365614_18767\Main.java:156: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:158: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:161: class, interface, or enum expected
Point q = p + ( a - b ).turnLeft();
^
0_0_6365614_18767\Main.java:162: class, interface, or enum expected
if ( ( ( p - a ) * ( q - a ) ) * ( ( p - b ) * ( q - b ) ) > 0 ) {
^
0_0_6365614_18767\Main.java:164: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:166: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:169: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:172: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:175: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:178: class, interface, or enum expected
a = a + t, b = b + t;
^
0_0_6365614_18767\Main.java:179: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:182: class, interface, or enum expected
double areaTriangle(Point &a, Point &b, Point &c, Point d) {
^
0_0_6365614_18767\Main.java:184: class, interface, or enum expected
Point p[3];
^
0_0_6365614_18767\Main.java:185: class, interface, or enum expected
int len = 0;
^
0_0_6365614_18767\Main.java:186: class, interface, or enum expected
Line AB(a, b) , CD(c, d) , ZA(z, a) , ZB(z, b) , ZC(z, c) , ZD(z, d);
^
0_0_6365614_18767\Main.java:187: class, interface, or enum expected
int ab = dcmp(a * b) , ac = dcmp(a * c) , ad = dcmp(a * d);
^
0_0_6365614_18767\Main.java:188: class, interface, or enum expected
int bc = dcmp(b * c) , bd = dcmp(b * d) , cd = dcmp(c * d);
^
0_0_6365614_18767\Main.java:189: class, interface, or enum expected
if ( ( ab == ac && bc == -ab ) || ( ac == 0 && dcmp(a / c) > 0 ) || ( bc == 0 && dcmp(b / c) > 0 ) ) {
^
0_0_6365614_18767\Main.java:191: class, interface, or enum expected
else p[len ++] = c;
^
0_0_6365614_18767\Main.java:192: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:195: class, interface, or enum expected
else p[len ++] = d;
^
0_0_6365614_18767\Main.java:196: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:199: class, interface, or enum expected
else p[len ++] = a;
^
0_0_6365614_18767\Main.java:200: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:203: class, interface, or enum expected
else p[len ++] = b;
^
0_0_6365614_18767\Main.java:204: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:206: class, interface, or enum expected
if ( len == 3 ) return fabs(p[0] * p[2]) * 0.5 + fabs(p[1] * p[2]) * 0.5;
^
0_0_6365614_18767\Main.java:207: class, interface, or enum expected
if ( len == 2 ) return fabs(p[0] * p[1]) * 0.5;
^
0_0_6365614_18767\Main.java:208: class, interface, or enum expected
return 0;
^
0_0_6365614_18767\Main.java:209: class, interface, or enum expected
}
^
0_0_6365614_18767\Main.java:212: class, interface, or enum expected
Point p[maxP];
^
0_0_6365614_18767\Main.java:213: class, interface, or enum expected
void input() {
^
0_0_6365614_18767\Main.java:214: class, interface, or enum expected
|