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_34706679_5903\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_34706679_5903\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_34706679_5903\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_34706679_5903\Main.java:3: 错误: 非法字符: '#'
#include<vector>
^
0_0_34706679_5903\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_34706679_5903\Main.java:5: 错误: 非法字符: '#'
#include<iostream>
^
0_0_34706679_5903\Main.java:6: 错误: 非法字符: '#'
#include<queue>
^
0_0_34706679_5903\Main.java:7: 错误: 非法字符: '#'
#pragma comment(linker, "/STACK:1024000000,1024000000")
^
0_0_34706679_5903\Main.java:9: 错误: 需要class, interface或enum
const int MAXN = 25005;
^
0_0_34706679_5903\Main.java:10: 错误: 需要class, interface或enum
const double eps = 1e-8;
^
0_0_34706679_5903\Main.java:11: 错误: 需要class, interface或enum
const double pi = acos(-1.0);
^
0_0_34706679_5903\Main.java:12: 错误: 需要class, interface或enum
int nx0[MAXN], nx1[MAXN];
^
0_0_34706679_5903\Main.java:13: 错误: 需要class, interface或enum
inline int cmp(const double a, const double b)
^
0_0_34706679_5903\Main.java:14: 错误: 需要class, interface或enum
{return (a-b>eps) - (a-b<-eps);}
                               ^
0_0_34706679_5903\Main.java:18: 错误: 需要class, interface或enum
    double agl, dis; /* 0 ~ 2pi */
    ^
0_0_34706679_5903\Main.java:19: 错误: 需要class, interface或enum
    void build()
    ^
0_0_34706679_5903\Main.java:22: 错误: 需要class, interface或enum
        agl = atan2(y, x);
        ^
0_0_34706679_5903\Main.java:23: 错误: 需要class, interface或enum
        if (agl < 0) agl += 2*pi;
        ^
0_0_34706679_5903\Main.java:24: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:28: 错误: 需要class, interface或enum
        return agl < in.agl;
        ^
0_0_34706679_5903\Main.java:29: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:33: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:34: 错误: 需要class, interface或enum
    void getin() {scanf("%lf%lf", &x, &y);}
                                          ^
0_0_34706679_5903\Main.java:36: 错误: 需要class, interface或enum
struct _data
^
0_0_34706679_5903\Main.java:39: 错误: 需要class, interface或enum
    vctor pp[MAXN*2], md0;
    ^
0_0_34706679_5903\Main.java:40: 错误: 需要class, interface或enum
    double sd;
    ^
0_0_34706679_5903\Main.java:41: 错误: 需要class, interface或enum
    void getda()
    ^
0_0_34706679_5903\Main.java:44: 错误: 需要class, interface或enum
        md0.x = md0.y = 0.0;
        ^
0_0_34706679_5903\Main.java:45: 错误: 需要class, interface或enum
        for (int i = 0; i< n; ++i) 
        ^
0_0_34706679_5903\Main.java:45: 错误: 需要class, interface或enum
        for (int i = 0; i< n; ++i) 
                        ^
0_0_34706679_5903\Main.java:45: 错误: 需要class, interface或enum
        for (int i = 0; i< n; ++i) 
                              ^
0_0_34706679_5903\Main.java:48: 错误: 需要class, interface或enum
            md0.x += pp[i].x;
            ^
0_0_34706679_5903\Main.java:49: 错误: 需要class, interface或enum
            md0.y += pp[i].y;
            ^
0_0_34706679_5903\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_34706679_5903\Main.java:51: 错误: 需要class, interface或enum
        md0.x /= n; md0.y /= n;
                    ^
0_0_34706679_5903\Main.java:52: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:56: 错误: 需要class, interface或enum
        int itp = 0;
        ^
0_0_34706679_5903\Main.java:57: 错误: 需要class, interface或enum
        sd = 0.0;
        ^
0_0_34706679_5903\Main.java:58: 错误: 需要class, interface或enum
        for (int j = 0; j< n; ++j)
        ^
0_0_34706679_5903\Main.java:58: 错误: 需要class, interface或enum
        for (int j = 0; j< n; ++j)
                        ^
0_0_34706679_5903\Main.java:58: 错误: 需要class, interface或enum
        for (int j = 0; j< n; ++j)
                              ^
0_0_34706679_5903\Main.java:60: 错误: 需要class, interface或enum
            pp[j].x -= md0.x; pp[j].y -= md0.y;
                              ^
0_0_34706679_5903\Main.java:61: 错误: 需要class, interface或enum
            pp[j].build();
            ^
0_0_34706679_5903\Main.java:63: 错误: 需要class, interface或enum
            if (cmp(pp[j].dis, 0.0))
            ^
0_0_34706679_5903\Main.java:65: 错误: 需要class, interface或enum
        }
        ^
0_0_34706679_5903\Main.java:67: 错误: 需要class, interface或enum
        sort(pp, pp+n);
        ^
0_0_34706679_5903\Main.java:68: 错误: 需要class, interface或enum
        dtp = pp[n-1].agl;
        ^
0_0_34706679_5903\Main.java:69: 错误: 需要class, interface或enum
        for (int i = n-1; i>= 1; pp[i].agl -= pp[(i--)-1].agl);
        ^
0_0_34706679_5903\Main.java:69: 错误: 需要class, interface或enum
        for (int i = n-1; i>= 1; pp[i].agl -= pp[(i--)-1].agl);
                          ^
0_0_34706679_5903\Main.java:69: 错误: 需要class, interface或enum
        for (int i = n-1; i>= 1; pp[i].agl -= pp[(i--)-1].agl);
                                 ^
0_0_34706679_5903\Main.java:70: 错误: 需要class, interface或enum
        pp[0].agl += 2*pi-dtp;
        ^
0_0_34706679_5903\Main.java:71: 错误: 需要class, interface或enum
        if (cs)
        ^
0_0_34706679_5903\Main.java:72: 错误: 需要class, interface或enum
        for (int i = 0; i< n; ++i) sd += pp[i].dis;
                        ^
0_0_34706679_5903\Main.java:72: 错误: 需要class, interface或enum
        for (int i = 0; i< n; ++i) sd += pp[i].dis;
                              ^
0_0_34706679_5903\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:75: 错误: 需要class, interface或enum
void getpre(int n, int pre[], vctor pp[])
^
0_0_34706679_5903\Main.java:78: 错误: 需要class, interface或enum
    for (int i = 1, j=-1; i< n; ++i)
    ^
0_0_34706679_5903\Main.java:78: 错误: 需要class, interface或enum
    for (int i = 1, j=-1; i< n; ++i)
                          ^
0_0_34706679_5903\Main.java:78: 错误: 需要class, interface或enum
    for (int i = 1, j=-1; i< n; ++i)
                                ^
0_0_34706679_5903\Main.java:81: 错误: 需要class, interface或enum
        if (pp[j+1] == pp[i]) ++j;
        ^
0_0_34706679_5903\Main.java:82: 错误: 需要class, interface或enum
        pre[i] = j;
        ^
0_0_34706679_5903\Main.java:83: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:88: 错误: 需要class, interface或enum
    else puts("No");
    ^
0_0_34706679_5903\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_34706679_5903\Main.java:92: 错误: 需要class, interface或enum
    for (int i = 0, j = 0; i< n; )
                           ^
0_0_34706679_5903\Main.java:92: 错误: 需要class, interface或enum
    for (int i = 0, j = 0; i< n; )
                                 ^
0_0_34706679_5903\Main.java:96: 错误: 需要class, interface或enum
        else j = next[j];
        ^
0_0_34706679_5903\Main.java:97: 错误: 需要class, interface或enum
        if (j == m)
        ^
0_0_34706679_5903\Main.java:99: 错误: 需要class, interface或enum
    }
    ^
0_0_34706679_5903\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_34706679_5903\Main.java:105: 错误: 需要class, interface或enum
	if (db.n != s) return 0;
	^
0_0_34706679_5903\Main.java:106: 错误: 需要class, interface或enum
	if (s < 3) return 1;
	^
0_0_34706679_5903\Main.java:107: 错误: 需要class, interface或enum
    db.initda();
    ^
0_0_34706679_5903\Main.java:108: 错误: 需要class, interface或enum
    if (db.n != da.n) return 0;
    ^
0_0_34706679_5903\Main.java:109: 错误: 需要class, interface或enum
    double be = da.sd / db.sd;
    ^
0_0_34706679_5903\Main.java:110: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[i].dis *= be;
    ^
0_0_34706679_5903\Main.java:110: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[i].dis *= be;
                    ^
0_0_34706679_5903\Main.java:110: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[i].dis *= be;
                             ^
0_0_34706679_5903\Main.java:111: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[db.n+i] = db.pp[i];
    ^
0_0_34706679_5903\Main.java:111: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[db.n+i] = db.pp[i];
                    ^
0_0_34706679_5903\Main.java:111: 错误: 需要class, interface或enum
    for (int i = 0; i< db.n; ++i) db.pp[db.n+i] = db.pp[i];
                             ^
0_0_34706679_5903\Main.java:112: 错误: 需要class, interface或enum
    if (kmp(db.pp, da.pp, db.n*2, da.n, nx0) || 
    ^
0_0_34706679_5903\Main.java:115: 错误: 需要class, interface或enum
	else
	^
0_0_34706679_5903\Main.java:117: 错误: 需要class, interface或enum
}
^
0_0_34706679_5903\Main.java:120: 错误: 非法字符: '#'
#ifndef ONLINE_JUDGE
^
0_0_34706679_5903\Main.java:122: 错误: 非法字符: '#'
#endif
^
0_0_34706679_5903\Main.java:123: 错误: 需要class, interface或enum
    int t, k, s;
    ^
0_0_34706679_5903\Main.java:124: 错误: 需要class, interface或enum
    scanf("%d", &t);
    ^
0_0_34706679_5903\Main.java:125: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_34706679_5


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-26 17:54:28, Gzip enabled