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_26075833_10639\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26075833_10639\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26075833_10639\Main.java:3: 错误: 需要class, interface或enum
const int maxn = 1000005;
^
0_0_26075833_10639\Main.java:4: 错误: 非法字符: '#'
#define INF 1e18
^
0_0_26075833_10639\Main.java:4: 错误: 需要class, interface或enum
#define INF 1e18
        ^
0_0_26075833_10639\Main.java:6: 错误: 需要class, interface或enum
struct arr{
^
0_0_26075833_10639\Main.java:8: 错误: 需要class, interface或enum
};
^
0_0_26075833_10639\Main.java:9: 错误: 需要class, interface或enum
int D,root,x,y,n,m,tot,op;
^
0_0_26075833_10639\Main.java:10: 错误: 需要class, interface或enum
ll ans;
^
0_0_26075833_10639\Main.java:11: 错误: 需要class, interface或enum
inline int cmp(arr a,arr b)
^
0_0_26075833_10639\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_26075833_10639\Main.java:17: 错误: 需要class, interface或enum
inline void up(int k,int s)
^
0_0_26075833_10639\Main.java:20: 错误: 需要class, interface或enum
    a[k].max[0]=max(a[k].max[0],a[s].max[0]);
    ^
0_0_26075833_10639\Main.java:21: 错误: 需要class, interface或enum
    a[k].min[1]=min(a[k].min[1],a[s].min[1]);
    ^
0_0_26075833_10639\Main.java:22: 错误: 需要class, interface或enum
    a[k].max[1]=max(a[k].max[1],a[s].max[1]);
    ^
0_0_26075833_10639\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_26075833_10639\Main.java:26: 错误: 需要class, interface或enum
    D=dd;int mid=(l+r)>>1;
         ^
0_0_26075833_10639\Main.java:27: 错误: 需要class, interface或enum
    nth_element(a+l,a+mid+1,a+r+1,cmp);
    ^
0_0_26075833_10639\Main.java:28: 错误: 需要class, interface或enum
    a[mid].min[0]=a[mid].max[0]=a[mid].d[0];
    ^
0_0_26075833_10639\Main.java:29: 错误: 需要class, interface或enum
    a[mid].min[1]=a[mid].max[1]=a[mid].d[1];
    ^
0_0_26075833_10639\Main.java:30: 错误: 需要class, interface或enum
    if (l!=mid) a[mid].l=build(l,mid-1,dd^1);
    ^
0_0_26075833_10639\Main.java:31: 错误: 需要class, interface或enum
    if (mid!=r) a[mid].r=build(mid+1,r,dd^1);
    ^
0_0_26075833_10639\Main.java:32: 错误: 需要class, interface或enum
    if (a[mid].l) up(mid,a[mid].l);
    ^
0_0_26075833_10639\Main.java:33: 错误: 需要class, interface或enum
    if (a[mid].r) up(mid,a[mid].r);
    ^
0_0_26075833_10639\Main.java:34: 错误: 需要class, interface或enum
    return mid;
    ^
0_0_26075833_10639\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_26075833_10639\Main.java:38: 错误: 需要class, interface或enum
    int p=root;D=0;
               ^
0_0_26075833_10639\Main.java:39: 错误: 需要class, interface或enum
    while (1)
    ^
0_0_26075833_10639\Main.java:42: 错误: 需要class, interface或enum
        if (a[k].d[D]<=a[p].d[D]){if (!a[p].l) {a[p].l=k;return;} p=a[p].l;}
        ^
0_0_26075833_10639\Main.java:42: 错误: 需要class, interface或enum
        if (a[k].d[D]<=a[p].d[D]){if (!a[p].l) {a[p].l=k;return;} p=a[p].l;}
                                                         ^
0_0_26075833_10639\Main.java:42: 错误: 需要class, interface或enum
        if (a[k].d[D]<=a[p].d[D]){if (!a[p].l) {a[p].l=k;return;} p=a[p].l;}
                                                                ^
0_0_26075833_10639\Main.java:42: 错误: 需要class, interface或enum
        if (a[k].d[D]<=a[p].d[D]){if (!a[p].l) {a[p].l=k;return;} p=a[p].l;}
                                                                           ^
0_0_26075833_10639\Main.java:43: 错误: 需要class, interface或enum
        else {if (!a[p].r) {a[p].r=k;return;} p=a[p].r;}
                                     ^
0_0_26075833_10639\Main.java:43: 错误: 需要class, interface或enum
        else {if (!a[p].r) {a[p].r=k;return;} p=a[p].r;}
                                            ^
0_0_26075833_10639\Main.java:43: 错误: 需要class, interface或enum
        else {if (!a[p].r) {a[p].r=k;return;} p=a[p].r;}
                                                       ^
0_0_26075833_10639\Main.java:45: 错误: 需要class, interface或enum
    }
    ^
0_0_26075833_10639\Main.java:50: 错误: 需要class, interface或enum
    if (x<a[k].min[0]) res+=(a[k].min[0]-x)*(a[k].min[0]-x);
    ^
0_0_26075833_10639\Main.java:51: 错误: 需要class, interface或enum
    if (x>a[k].max[0]) res+=(x-a[k].max[0])*(x-a[k].max[0]);
    ^
0_0_26075833_10639\Main.java:52: 错误: 需要class, interface或enum
    if (y<a[k].min[1]) res+=(a[k].min[1]-y)*(a[k].min[1]-y);
    ^
0_0_26075833_10639\Main.java:53: 错误: 需要class, interface或enum
    if (y>a[k].max[1]) res+=(y-a[k].max[1])*(y-a[k].max[1]);
    ^
0_0_26075833_10639\Main.java:54: 错误: 需要class, interface或enum
    return res;
    ^
0_0_26075833_10639\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_26075833_10639\Main.java:59: 错误: 需要class, interface或enum
  if (d0<ans&&d0!=0) ans=d0;
  ^
0_0_26075833_10639\Main.java:60: 错误: 需要class, interface或enum
  int dl=(a[k].l)?getdis(a[k].l):INF;
  ^
0_0_26075833_10639\Main.java:61: 错误: 需要class, interface或enum
  int dr=(a[k].r)?getdis(a[k].r):INF;
  ^
0_0_26075833_10639\Main.java:62: 错误: 需要class, interface或enum
  if (dl<dr){if (dl<ans) ask(a[k].l);if (dr<ans) ask(a[k].r);}
  ^
0_0_26075833_10639\Main.java:62: 错误: 需要class, interface或enum
  if (dl<dr){if (dl<ans) ask(a[k].l);if (dr<ans) ask(a[k].r);}
                                     ^
0_0_26075833_10639\Main.java:62: 错误: 需要class, interface或enum
  if (dl<dr){if (dl<ans) ask(a[k].l);if (dr<ans) ask(a[k].r);}
                                                             ^
0_0_26075833_10639\Main.java:63: 错误: 需要class, interface或enum
  else {if (dr<ans) ask(a[k].r);if (dl<ans) ask(a[k].l);}
                                ^
0_0_26075833_10639\Main.java:63: 错误: 需要class, interface或enum
  else {if (dr<ans) ask(a[k].r);if (dl<ans) ask(a[k].l);}
                                                        ^
0_0_26075833_10639\Main.java:66: 错误: 需要class, interface或enum
int main()
^
0_0_26075833_10639\Main.java:69: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_26075833_10639\Main.java:70: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_26075833_10639\Main.java:72: 错误: 需要class, interface或enum
    scanf("%d",&n);
    ^
0_0_26075833_10639\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
    ^
0_0_26075833_10639\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                ^
0_0_26075833_10639\Main.java:73: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++)
                     ^
0_0_26075833_10639\Main.java:75: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
    ^
0_0_26075833_10639\Main.java:75: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                ^
0_0_26075833_10639\Main.java:75: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                     ^
0_0_26075833_10639\Main.java:77: 错误: 需要class, interface或enum
        p[i]=a[i].d[0];q[i]=a[i].d[1];
        ^
0_0_26075833_10639\Main.java:77: 错误: 需要class, interface或enum
        p[i]=a[i].d[0];q[i]=a[i].d[1];
                       ^
0_0_26075833_10639\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_26075833_10639\Main.java:81: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
    ^
0_0_26075833_10639\Main.java:81: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                ^
0_0_26075833_10639\Main.java:81: 错误: 需要class, interface或enum
    for(int i=1;i<=n;i++){
                     ^
0_0_26075833_10639\Main.java:84: 错误: 需要class, interface或enum
            x=p[i];y=q[i];
            ^
0_0_26075833_10639\Main.java:84: 错误: 需要class, interface或enum
            x=p[i];y=q[i];
                   ^
0_0_26075833_10639\Main.java:85: 错误: 需要class, interface或enum
            ask(root);
            ^
0_0_26075833_10639\Main.java:86: 错误: 需要class, interface或enum
            printf("%d\n",ans);
            ^
0_0_26075833_10639\Main.java:87: 错误: 需要class, interface或enum
        }
        ^
71 个错误


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 16:46:57, Gzip enabled