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_24614810_28654\Main.java:8: 错误: 非法字符: '#'
#include<iostream>
^
0_0_24614810_28654\Main.java:8: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_24614810_28654\Main.java:9: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_24614810_28654\Main.java:10: 错误: 非法字符: '#'
#define LL long long
^
0_0_24614810_28654\Main.java:11: 错误: 非法字符: '#'
#define inf 1<<30
^
0_0_24614810_28654\Main.java:13: 错误: 需要class, interface或enum
const int N=2005;
^
0_0_24614810_28654\Main.java:14: 错误: 需要class, interface或enum
int n;
^
0_0_24614810_28654\Main.java:15: 错误: 需要class, interface或enum
double y[N];
^
0_0_24614810_28654\Main.java:17: 错误: 需要class, interface或enum
struct LINE
^
0_0_24614810_28654\Main.java:20: 错误: 需要class, interface或enum
    double y_down,y_up;
    ^
0_0_24614810_28654\Main.java:21: 错误: 需要class, interface或enum
    int flag;
    ^
0_0_24614810_28654\Main.java:22: 错误: 需要class, interface或enum
}line[N];
^
0_0_24614810_28654\Main.java:24: 错误: 需要class, interface或enum
struct node
^
0_0_24614810_28654\Main.java:27: 错误: 需要class, interface或enum
    double x;
    ^
0_0_24614810_28654\Main.java:28: 错误: 需要class, interface或enum
    int cover;
    ^
0_0_24614810_28654\Main.java:29: 错误: 需要class, interface或enum
    bool flag;
    ^
0_0_24614810_28654\Main.java:30: 错误: 需要class, interface或enum
}node[N<<2];
^
0_0_24614810_28654\Main.java:32: 错误: 需要class, interface或enum
bool cmp(LINE a,LINE b)
^
0_0_24614810_28654\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_24614810_28654\Main.java:40: 错误: 需要class, interface或enum
    node[d].r=y[r];
    ^
0_0_24614810_28654\Main.java:41: 错误: 需要class, interface或enum
    node[d].x=-1;
    ^
0_0_24614810_28654\Main.java:42: 错误: 需要class, interface或enum
    node[d].flag=false;
    ^
0_0_24614810_28654\Main.java:43: 错误: 需要class, interface或enum
    node[d].cover=0;
    ^
0_0_24614810_28654\Main.java:44: 错误: 需要class, interface或enum
    if(l+1==r)
    ^
0_0_24614810_28654\Main.java:47: 错误: 需要class, interface或enum
        return;
        ^
0_0_24614810_28654\Main.java:48: 错误: 需要class, interface或enum
    }
    ^
0_0_24614810_28654\Main.java:50: 错误: 需要class, interface或enum
    build(d<<1,l,mid);
    ^
0_0_24614810_28654\Main.java:51: 错误: 需要class, interface或enum
    build(d<<1|1,mid,r);
    ^
0_0_24614810_28654\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_24614810_28654\Main.java:58: 错误: 需要class, interface或enum
    if(node[d].flag)
    ^
0_0_24614810_28654\Main.java:63: 错误: 需要class, interface或enum
            double ans=(x-pre)*(node[d].r-node[d].l);
            ^
0_0_24614810_28654\Main.java:64: 错误: 需要class, interface或enum
            node[d].x=x;
            ^
0_0_24614810_28654\Main.java:65: 错误: 需要class, interface或enum
            node[d].cover+=flag;
            ^
0_0_24614810_28654\Main.java:66: 错误: 需要class, interface或enum
            return ans;
            ^
0_0_24614810_28654\Main.java:67: 错误: 需要class, interface或enum
        }
        ^
0_0_24614810_28654\Main.java:71: 错误: 需要class, interface或enum
            node[d].cover+=flag;
            ^
0_0_24614810_28654\Main.java:72: 错误: 需要class, interface或enum
            return 0;
            ^
0_0_24614810_28654\Main.java:73: 错误: 需要class, interface或enum
        }
        ^
0_0_24614810_28654\Main.java:76: 错误: 需要class, interface或enum
    ans1=Insert_query(d<<1,x,l,r,flag);
    ^
0_0_24614810_28654\Main.java:77: 错误: 需要class, interface或enum
    ans2=Insert_query(d<<1|1,x,l,r,flag);
    ^
0_0_24614810_28654\Main.java:78: 错误: 需要class, interface或enum
    return ans1+ans2;
    ^
0_0_24614810_28654\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_24614810_28654\Main.java:84: 错误: 需要class, interface或enum
    double x1,x2,y1,y2;
    ^
0_0_24614810_28654\Main.java:85: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_24614810_28654\Main.java:86: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_24614810_28654\Main.java:89: 错误: 需要class, interface或enum
        int cnt=-1;
        ^
0_0_24614810_28654\Main.java:90: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
        ^
0_0_24614810_28654\Main.java:90: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                    ^
0_0_24614810_28654\Main.java:90: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++)
                        ^
0_0_24614810_28654\Main.java:93: 错误: 需要class, interface或enum
            y[++cnt]=y1;
            ^
0_0_24614810_28654\Main.java:94: 错误: 需要class, interface或enum
            line[cnt].x=x1;
            ^
0_0_24614810_28654\Main.java:95: 错误: 需要class, interface或enum
            line[cnt].y_down=y1;
            ^
0_0_24614810_28654\Main.java:96: 错误: 需要class, interface或enum
            line[cnt].y_up=y2;
            ^
0_0_24614810_28654\Main.java:97: 错误: 需要class, interface或enum
            line[cnt].flag=1;
            ^
0_0_24614810_28654\Main.java:99: 错误: 需要class, interface或enum
            y[++cnt]=y2;
            ^
0_0_24614810_28654\Main.java:100: 错误: 需要class, interface或enum
            line[cnt].x=x2;
            ^
0_0_24614810_28654\Main.java:101: 错误: 需要class, interface或enum
            line[cnt].y_down=y1;
            ^
0_0_24614810_28654\Main.java:102: 错误: 需要class, interface或enum
            line[cnt].y_up=y2;
            ^
0_0_24614810_28654\Main.java:103: 错误: 需要class, interface或enum
            line[cnt].flag=-1;
            ^
0_0_24614810_28654\Main.java:104: 错误: 需要class, interface或enum
        }
        ^
0_0_24614810_28654\Main.java:107: 错误: 需要class, interface或enum
        sort(line,line+cnt+1,cmp);
        ^
0_0_24614810_28654\Main.java:108: 错误: 需要class, interface或enum
        build(1,0,cnt);
        ^
0_0_24614810_28654\Main.java:109: 错误: 需要class, interface或enum
        double area=0;
        ^
0_0_24614810_28654\Main.java:110: 错误: 需要class, interface或enum
        for(int i=0;i<=cnt;i++)
        ^
0_0_24614810_28654\Main.java:110: 错误: 需要class, interface或enum
        for(int i=0;i<=cnt;i++)
                    ^
0_0_24614810_28654\Main.java:110: 错误: 需要class, interface或enum
        for(int i=0;i<=cnt;i++)
                           ^
0_0_24614810_28654\Main.java:113: 错误: 需要class, interface或enum
        }
        ^
0_0_24614810_28654\Main.java:115: 错误: 需要class, interface或enum
    }
    ^
0_0_24614810_28654\Main.java:117: 错误: 需要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-26 19:03:52, Gzip enabled