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_31815745_20148\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_31815745_20148\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_31815745_20148\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_31815745_20148\Main.java:3: 错误: 非法字符: '#'
#include<string>
^
0_0_31815745_20148\Main.java:4: 错误: 非法字符: '#'
#include<stack>
^
0_0_31815745_20148\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_31815745_20148\Main.java:6: 错误: 非法字符: '#'
#include<map>
^
0_0_31815745_20148\Main.java:7: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_31815745_20148\Main.java:8: 错误: 非法字符: '#'
#include<cmath>
^
0_0_31815745_20148\Main.java:9: 错误: 非法字符: '#'
#include<set>
^
0_0_31815745_20148\Main.java:10: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_31815745_20148\Main.java:11: 错误: 非法字符: '#'
#include<vector>
^
0_0_31815745_20148\Main.java:13: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_31815745_20148\Main.java:15: 错误: 需要class, interface或enum
const double eps = 1e-8;
^
0_0_31815745_20148\Main.java:16: 错误: 需要class, interface或enum
const double inf = 1e20;
^
0_0_31815745_20148\Main.java:17: 错误: 需要class, interface或enum
const double pi = acos(-1.0);
^
0_0_31815745_20148\Main.java:18: 错误: 需要class, interface或enum
const int maxp = 50010;
^
0_0_31815745_20148\Main.java:20: 错误: 需要class, interface或enum
int sgn(double x){
^
0_0_31815745_20148\Main.java:22: 错误: 需要class, interface或enum
    if(x < 0)return -1;
    ^
0_0_31815745_20148\Main.java:23: 错误: 需要class, interface或enum
    else return 1;
    ^
0_0_31815745_20148\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_31815745_20148\Main.java:26: 错误: 需要class, interface或enum
inline double sqr(double x){return x*x;}
                                       ^
0_0_31815745_20148\Main.java:52: 错误: 需要class, interface或enum
    ll val;
    ^
0_0_31815745_20148\Main.java:53: 错误: 需要class, interface或enum
    Point(){}
    ^
0_0_31815745_20148\Main.java:56: 错误: 需要class, interface或enum
        y = _y;
        ^
0_0_31815745_20148\Main.java:57: 错误: 需要class, interface或enum
        val=_val;
        ^
0_0_31815745_20148\Main.java:58: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:61: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:64: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:67: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:70: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:75: 错误: 需要class, interface或enum
struct polygon{
^
0_0_31815745_20148\Main.java:77: 错误: 需要class, interface或enum
    Point p[maxp];
    ^
0_0_31815745_20148\Main.java:78: 错误: 需要class, interface或enum
    void input(int _n){
    ^
0_0_31815745_20148\Main.java:80: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
        ^
0_0_31815745_20148\Main.java:80: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                      ^
0_0_31815745_20148\Main.java:80: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                            ^
0_0_31815745_20148\Main.java:82: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:85: 错误: 需要class, interface或enum
        cmp(const Point &p0){p = p0;}
        ^
0_0_31815745_20148\Main.java:85: 错误: 需要class, interface或enum
        cmp(const Point &p0){p = p0;}
                                    ^
0_0_31815745_20148\Main.java:88: 错误: 需要class, interface或enum
            int d = sgn((a-p)^(b-p));
            ^
0_0_31815745_20148\Main.java:89: 错误: 需要class, interface或enum
            if(d == 0){
            ^
0_0_31815745_20148\Main.java:91: 错误: 需要class, interface或enum
            }
            ^
0_0_31815745_20148\Main.java:93: 错误: 需要class, interface或enum
        }
        ^
0_0_31815745_20148\Main.java:98: 错误: 需要class, interface或enum
    void norm(){
    ^
0_0_31815745_20148\Main.java:100: 错误: 需要class, interface或enum
        for(int i = 1;i < n;i++)mi = min(mi,p[i]);
        ^
0_0_31815745_20148\Main.java:100: 错误: 需要class, interface或enum
        for(int i = 1;i < n;i++)mi = min(mi,p[i]);
                      ^
0_0_31815745_20148\Main.java:100: 错误: 需要class, interface或enum
        for(int i = 1;i < n;i++)mi = min(mi,p[i]);
                            ^
0_0_31815745_20148\Main.java:101: 错误: 需要class, interface或enum
        sort(p,p+n,cmp(mi));
        ^
0_0_31815745_20148\Main.java:102: 错误: 需要class, interface或enum
    }
    ^
0_0_31815745_20148\Main.java:104: 错误: 需要class, interface或enum
ll pre[maxp];
^
0_0_31815745_20148\Main.java:105: 错误: 需要class, interface或enum
int main()
^
0_0_31815745_20148\Main.java:108: 错误: 需要class, interface或enum
	scanf("%d",&cas);
	^
0_0_31815745_20148\Main.java:109: 错误: 需要class, interface或enum
	while(cas--)
	^
0_0_31815745_20148\Main.java:112: 错误: 需要class, interface或enum
		scanf("%d",&n);
		^
0_0_31815745_20148\Main.java:113: 错误: 需要class, interface或enum
		polygon po;
		^
0_0_31815745_20148\Main.java:114: 错误: 需要class, interface或enum
		po.input(n);
		^
0_0_31815745_20148\Main.java:115: 错误: 需要class, interface或enum
		po.norm();
		^
0_0_31815745_20148\Main.java:116: 错误: 需要class, interface或enum
		pre[0]=po.p[0].val;
		^
0_0_31815745_20148\Main.java:117: 错误: 需要class, interface或enum
		for (int i=1;i<n;i++)
		^
0_0_31815745_20148\Main.java:117: 错误: 需要class, interface或enum
		for (int i=1;i<n;i++)
		             ^
0_0_31815745_20148\Main.java:117: 错误: 需要class, interface或enum
		for (int i=1;i<n;i++)
		                 ^
0_0_31815745_20148\Main.java:120: 错误: 需要class, interface或enum
		}
		^
0_0_31815745_20148\Main.java:122: 错误: 需要class, interface或enum
		for (int i=0;i<n-1;i++)
		^
0_0_31815745_20148\Main.java:122: 错误: 需要class, interface或enum
		for (int i=0;i<n-1;i++)
		             ^
0_0_31815745_20148\Main.java:122: 错误: 需要class, interface或enum
		for (int i=0;i<n-1;i++)
		                   ^
0_0_31815745_20148\Main.java:125: 错误: 需要class, interface或enum
		}
		^
0_0_31815745_20148\Main.java:127: 错误: 需要class, interface或enum
	}
	^
69 个错误


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-25 13:12:15, Gzip enabled