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_22047520_31669\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_22047520_31669\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_22047520_31669\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_22047520_31669\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_22047520_31669\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_22047520_31669\Main.java:5: 错误: 非法字符: '#'
#include <cmath>
^
0_0_22047520_31669\Main.java:6: 错误: 非法字符: '#'
#include <map>
^
0_0_22047520_31669\Main.java:7: 错误: 非法字符: '#'
#include <vector>
^
0_0_22047520_31669\Main.java:9: 错误: 非法字符: '#'
#define maxn 210
^
0_0_22047520_31669\Main.java:9: 错误: 需要class, interface或enum
#define maxn 210
        ^
0_0_22047520_31669\Main.java:10: 错误: 非法字符: '#'
#define LL long long
^
0_0_22047520_31669\Main.java:11: 错误: 非法字符: '#'
#define eps 1e-6
^
0_0_22047520_31669\Main.java:12: 错误: 非法字符: '#'
#define PI acos(-1.0)
^
0_0_22047520_31669\Main.java:15: 错误: 需要class, interface或enum
struct Point{
^
0_0_22047520_31669\Main.java:17: 错误: 需要class, interface或enum
 Point(){}
 ^
0_0_22047520_31669\Main.java:20: 错误: 需要class, interface或enum
 x=_x; y=_y;
       ^
0_0_22047520_31669\Main.java:21: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:24: 错误: 需要class, interface或enum
bool operator < (const Point& a,const Point& b)
^
0_0_22047520_31669\Main.java:28: 错误: 需要class, interface或enum
 else if(fabs(a.y-b.y)>eps)
 ^
0_0_22047520_31669\Main.java:30: 错误: 需要class, interface或enum
 return false;
 ^
0_0_22047520_31669\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:40: 错误: 需要class, interface或enum
 Line(){}
 ^
0_0_22047520_31669\Main.java:43: 错误: 需要class, interface或enum
 a=_a; b=_b;
       ^
0_0_22047520_31669\Main.java:44: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:47: 错误: 需要class, interface或enum
bool parallel(const Line& ll,const Line& rr)
^
0_0_22047520_31669\Main.java:50: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:54: 错误: 需要class, interface或enum
    double r =
    ^
0_0_22047520_31669\Main.java:57: 错误: 需要class, interface或enum
    ret.x += (ll.b.x - ll.a.x) * r;
    ^
0_0_22047520_31669\Main.java:58: 错误: 需要class, interface或enum
    ret.y += (ll.b.y - ll.a.y) * r;
    ^
0_0_22047520_31669\Main.java:59: 错误: 需要class, interface或enum
    return ret;
    ^
0_0_22047520_31669\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:64: 错误: 需要class, interface或enum
 int v;
 ^
0_0_22047520_31669\Main.java:65: 错误: 需要class, interface或enum
 bool vis;
 ^
0_0_22047520_31669\Main.java:66: 错误: 需要class, interface或enum
 Edge(){}
 ^
0_0_22047520_31669\Main.java:69: 错误: 需要class, interface或enum
 v=_v; w=_w; vis=_vis;
       ^
0_0_22047520_31669\Main.java:69: 错误: 需要class, interface或enum
 v=_v; w=_w; vis=_vis;
             ^
0_0_22047520_31669\Main.java:70: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:74: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:77: 错误: 需要class, interface或enum
map<Point,int>g;
^
0_0_22047520_31669\Main.java:78: 错误: 需要class, interface或enum
vector<Point>vp,p[maxn];
^
0_0_22047520_31669\Main.java:79: 错误: 需要class, interface或enum
Line lines[maxn];
^
0_0_22047520_31669\Main.java:80: 错误: 需要class, interface或enum
vector<Edge>E[maxn*maxn/2];
^
0_0_22047520_31669\Main.java:81: 错误: 需要class, interface或enum
vector<double>ans;
^
0_0_22047520_31669\Main.java:82: 错误: 需要class, interface或enum
Point pts[maxn];
^
0_0_22047520_31669\Main.java:84: 错误: 需要class, interface或enum
bool check(double a,double b)
^
0_0_22047520_31669\Main.java:87: 错误: 需要class, interface或enum
 return b+eps<a-PI;
 ^
0_0_22047520_31669\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:93: 错误: 需要class, interface或enum
 if(d>PI+eps) d-=2*PI;
 ^
0_0_22047520_31669\Main.java:94: 错误: 需要class, interface或enum
 int id;
 ^
0_0_22047520_31669\Main.java:95: 错误: 需要class, interface或enum
 for(id=0;id<E.size();id++)
 ^
0_0_22047520_31669\Main.java:95: 错误: 需要class, interface或enum
 for(id=0;id<E.size();id++)
          ^
0_0_22047520_31669\Main.java:95: 错误: 需要class, interface或enum
 for(id=0;id<E.size();id++)
                      ^
0_0_22047520_31669\Main.java:100: 错误: 需要class, interface或enum
 else id=E.size()-1;
 ^
0_0_22047520_31669\Main.java:101: 错误: 需要class, interface或enum
 break;
 ^
0_0_22047520_31669\Main.java:102: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:105: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:110: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:115: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:120: 错误: 需要class, interface或enum
    ps[n] = ps[0];
    ^
0_0_22047520_31669\Main.java:121: 错误: 需要class, interface或enum
    for(int i = 0; i < n && (s[0] | s[2]); i ++) {
    ^
0_0_22047520_31669\Main.java:121: 错误: 需要class, interface或enum
    for(int i = 0; i < n && (s[0] | s[2]); i ++) {
                   ^
0_0_22047520_31669\Main.java:121: 错误: 需要class, interface或enum
    for(int i = 0; i < n && (s[0] | s[2]); i ++) {
                                           ^
0_0_22047520_31669\Main.java:123: 错误: 需要class, interface或enum
    }
    ^
0_0_22047520_31669\Main.java:125: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_22047520_31669\Main.java:126: 错误: 需要class, interface或enum
}
^
0_0_22047520_31669\Main.java:131: 错误: 需要class, interface或enum
 for(i=0;i<n;i++)
 ^
0_0_22047520_31669\Main.java:131: 错误: 需要class, interface或enum
 for(i=0;i<n;i++)
         ^
0_0_22047520_31669\Main.java:131: 错误: 需要class, interface或enum
 for(i=0;i<n;i++)
             ^
0_0_22047520_31669\Main.java:133: 错误: 需要class, interface或enum
 g.clear();
 ^
0_0_22047520_31669\Main.java:134: 错误: 需要class, interface或enum
 vp.clear();
 ^
0_0_22047520_31669\Main.java:135: 错误: 需要class, interface或enum
 for(i=1;i<=n;i++)
 ^
0_0_22047520_31669\Main.java:135: 错误: 需要class, interface或enum
 for(i=1;i<=n;i++)
         ^
0_0_22047520_31669\Main.java:135: 错误: 需要class, interface或enum
 for(i=1;i<=n;i++)
              ^
0_0_22047520_31669\Main.java:138: 错误: 需要class, interface或enum
 for(i=n;i<n+m;i++)
 ^
0_0_22047520_31669\Main.java:138: 错误: 需要class, interface或enum
 for(i=n;i<n+m;i++)
         ^
0_0_22047520_31669\Main.java:138: 错误: 需要class, interface或enum
 for(i=n;i<n+m;i++)
               ^
0_0_22047520_31669\Main.java:140: 错误: 需要class, interface或enum
 for(i=0;i<n+m;i++)
 ^
0_0_22047520_31669\Main.java:140: 错误: 需要class, interface或enum
 for(i=0;i<n+m;i++)
         ^
0_0_22047520_31669\Main.java:140: 错误: 需要class, interface或enum
 for(i=0;i<n+m;i++)
               ^
0_0_22047520_31669\Main.java:143: 错误: 需要class, interface或enum
 for(j=0;j<i;j++)
 ^
0_0_22047520_31669\Main.java:143: 错误: 需要class, interface或enum
 for(j=0;j<i;j++)
         ^
0_0_22047520_31669\Main.java:143: 错误: 需要class, interface或enum
 for(j=0;j<i;j++)
             ^
0_0_22047520_31669\Main.java:146: 错误: 需要class, interface或enum
 Point pt=intesection(lines[i],lines[j]);
 ^
0_0_22047520_31669\Main.java:147: 错误: 需要class, interface或enum
 g[pt];
 ^
0_0_22047520_31669\Main.java:148: 错误: 需要class, interface或enum
 p[i].push_back(pt);
 ^
0_0_22047520_31669\Main.java:149: 错误: 需要class, interface或enum
 p[j].push_back(pt);
 ^
0_0_22047520_31669\Main.java:150: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:153: 错误: 需要class, interface或enum
 for(map<Point,int>::iterator it=g.begin();it!=g.end();it++)
 ^
0_0_22047520_31669\Main.java:153: 错误: 需要class, interface或enum
 for(map<Point,int>::iterator it=g.begin();it!=g.end();it++)
                                           ^
0_0_22047520_31669\Main.java:153: 错误: 需要class, interface或enum
 for(map<Point,int>::iterator it=g.begin();it!=g.end();it++)
                                                       ^
0_0_22047520_31669\Main.java:156: 错误: 需要class, interface或enum
 it->second=tot;
 ^
0_0_22047520_31669\Main.java:157: 错误: 需要class, interface或enum
 E[tot++].clear();
 ^
0_0_22047520_31669\Main.java:158: 错误: 需要class, interface或enum
 }
 ^
0_0_22047520_31669\Main.java:159: 错误: 需要class, interface或enum
 for(i=0;i<n+m;i++)
         ^
0_0_22047520_31669\Main.java:159: 错误: 需要class, interface或enum
 for(i=0;i<n+m;i++)
               ^
0_0_22047520_31669\Main.java:162: 错误: 需要class, interface或enum
 sort(p[i].begin(),p[i].end());
 ^
0_0_22047520_31669\Main.java:163: 错误: 需要class, interface或enum
 p[i].erase(unique(p[i].begin(),p[i].end()),p[i].end());
 ^
0_0_22047520_31669\Main.java:164: 错误: 需要class, interface或enum
 double ab=atan2(p[i].back().y-p[i].front().y,p[i].back().x-p[i].front().x);
 ^
0_0_22047520_31669\Main.java:165: 错误: 需要class, interface或enum
 doub


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-30 17:43:03, Gzip enabled