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_13956370_30014\Main.java:9: 错误: 需要class, interface或enum
*/
^
0_0_13956370_30014\Main.java:10: 错误: 非法字符: '#'
#include <iostream>
^
0_0_13956370_30014\Main.java:11: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_13956370_30014\Main.java:12: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_13956370_30014\Main.java:13: 错误: 非法字符: '#'
#include <cmath>
^
0_0_13956370_30014\Main.java:14: 错误: 非法字符: '#'
#include <cstring>
^
0_0_13956370_30014\Main.java:15: 错误: 非法字符: '#'
#include <string>
^
0_0_13956370_30014\Main.java:16: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_13956370_30014\Main.java:17: 错误: 非法字符: '#'
#include <set>
^
0_0_13956370_30014\Main.java:18: 错误: 非法字符: '#'
#include<map>
^
0_0_13956370_30014\Main.java:19: 错误: 非法字符: '#'
#include<ctime>
^
0_0_13956370_30014\Main.java:21: 错误: 需要class, interface或enum
const int MAXN = 180009;
^
0_0_13956370_30014\Main.java:22: 错误: 需要class, interface或enum
const int N = 180009;
^
0_0_13956370_30014\Main.java:23: 错误: 需要class, interface或enum
const int MAXV=60001;
^
0_0_13956370_30014\Main.java:24: 错误: 需要class, interface或enum
const double eps = 1e-6;
^
0_0_13956370_30014\Main.java:25: 错误: 需要class, interface或enum
struct point
^
0_0_13956370_30014\Main.java:28: 错误: 需要class, interface或enum
    double val;
    ^
0_0_13956370_30014\Main.java:29: 错误: 需要class, interface或enum
    int id;
    ^
0_0_13956370_30014\Main.java:30: 错误: 需要class, interface或enum
}p[MAXV],qur[2*MAXV];
^
0_0_13956370_30014\Main.java:31: 错误: 需要class, interface或enum
bool cmp(point a,point b)
^
0_0_13956370_30014\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_13956370_30014\Main.java:36: 错误: 需要class, interface或enum
double anssum[MAXN];
^
0_0_13956370_30014\Main.java:37: 错误: 需要class, interface或enum
double var[MAXN];
^
0_0_13956370_30014\Main.java:40: 错误: 需要class, interface或enum
int ar[MAXN],n,q;  
^
0_0_13956370_30014\Main.java:41: 错误: 需要class, interface或enum
int lowb(int t){return t&(-t);}  
^
0_0_13956370_30014\Main.java:41: 错误: 需要class, interface或enum
int lowb(int t){return t&(-t);}  
                              ^
0_0_13956370_30014\Main.java:44: 错误: 需要class, interface或enum
    for(;i<N;ar[i]+=v,var[i]+=val,i+=lowb(i));  
         ^
0_0_13956370_30014\Main.java:44: 错误: 需要class, interface或enum
    for(;i<N;ar[i]+=v,var[i]+=val,i+=lowb(i));  
             ^
0_0_13956370_30014\Main.java:45: 错误: 需要class, interface或enum
}  
^
0_0_13956370_30014\Main.java:48: 错误: 需要class, interface或enum
	s=0;val=0;  
	    ^
0_0_13956370_30014\Main.java:49: 错误: 需要class, interface或enum
    for(;i>0;s+=ar[i],val+=var[i],i-=lowb(i));  
    ^
0_0_13956370_30014\Main.java:49: 错误: 需要class, interface或enum
    for(;i>0;s+=ar[i],val+=var[i],i-=lowb(i));  
         ^
0_0_13956370_30014\Main.java:49: 错误: 需要class, interface或enum
    for(;i>0;s+=ar[i],val+=var[i],i-=lowb(i));  
             ^
0_0_13956370_30014\Main.java:50: 错误: 需要class, interface或enum
}  
^
0_0_13956370_30014\Main.java:53: 错误: 需要class, interface或enum
int main()
^
0_0_13956370_30014\Main.java:59: 错误: 需要class, interface或enum
        memset(var,0,sizeof(var));
        ^
0_0_13956370_30014\Main.java:60: 错误: 需要class, interface或enum
        memset(anscnt,0,sizeof(anscnt));
        ^
0_0_13956370_30014\Main.java:61: 错误: 需要class, interface或enum
        memset(anssum,0,sizeof(anssum));
        ^
0_0_13956370_30014\Main.java:62: 错误: 需要class, interface或enum
        Map.clear();
        ^
0_0_13956370_30014\Main.java:63: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) 
        ^
0_0_13956370_30014\Main.java:63: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) 
                    ^
0_0_13956370_30014\Main.java:63: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) 
                        ^
0_0_13956370_30014\Main.java:66: 错误: 需要class, interface或enum
        Map[p[i].y]=1;
        ^
0_0_13956370_30014\Main.java:67: 错误: 需要class, interface或enum
        }
        ^
0_0_13956370_30014\Main.java:68: 错误: 需要class, interface或enum
        for(int i=0;i<4*q;i=i+4)//一次区间查询对应4次普通查询
                    ^
0_0_13956370_30014\Main.java:68: 错误: 需要class, interface或enum
        for(int i=0;i<4*q;i=i+4)//一次区间查询对应4次普通查询
                          ^
0_0_13956370_30014\Main.java:71: 错误: 需要class, interface或enum
        qur[i].x--;
        ^
0_0_13956370_30014\Main.java:72: 错误: 需要class, interface或enum
        qur[i].y--;
        ^
0_0_13956370_30014\Main.java:73: 错误: 需要class, interface或enum
        qur[i].id=i;
        ^
0_0_13956370_30014\Main.java:74: 错误: 需要class, interface或enum
        qur[i+1].id=i+1;
        ^
0_0_13956370_30014\Main.java:75: 错误: 需要class, interface或enum
        qur[i+2].id=i+2;
        ^
0_0_13956370_30014\Main.java:76: 错误: 需要class, interface或enum
        qur[i+3].id=i+3;
        ^
0_0_13956370_30014\Main.java:77: 错误: 需要class, interface或enum
        qur[i+1].x=qur[i+3].x;
        ^
0_0_13956370_30014\Main.java:78: 错误: 需要class, interface或enum
        qur[i+1].y=qur[i].y;
        ^
0_0_13956370_30014\Main.java:79: 错误: 需要class, interface或enum
        qur[i+2].x=qur[i].x;
        ^
0_0_13956370_30014\Main.java:80: 错误: 需要class, interface或enum
        qur[i+2].y=qur[i+3].y;
        ^
0_0_13956370_30014\Main.java:81: 错误: 需要class, interface或enum
        Map[qur[i].y]=1;
        ^
0_0_13956370_30014\Main.java:82: 错误: 需要class, interface或enum
        Map[qur[i+1].y]=1;
        ^
0_0_13956370_30014\Main.java:83: 错误: 需要class, interface或enum
        Map[qur[i+2].y]=1;
        ^
0_0_13956370_30014\Main.java:84: 错误: 需要class, interface或enum
        Map[qur[i+3].y]=1;
        ^
0_0_13956370_30014\Main.java:85: 错误: 需要class, interface或enum
        }
        ^
0_0_13956370_30014\Main.java:87: 错误: 需要class, interface或enum
        for(map< int, int >::iterator it=Map.begin();it!=Map.end();it++)
        ^
0_0_13956370_30014\Main.java:87: 错误: 需要class, interface或enum
        for(map< int, int >::iterator it=Map.begin();it!=Map.end();it++)
                                                     ^
0_0_13956370_30014\Main.java:87: 错误: 需要class, interface或enum
        for(map< int, int >::iterator it=Map.begin();it!=Map.end();it++)
                                                                   ^
0_0_13956370_30014\Main.java:89: 错误: 需要class, interface或enum
        sort(p,p+n,cmp);
        ^
0_0_13956370_30014\Main.java:90: 错误: 需要class, interface或enum
        sort(qur,qur+4*q,cmp);
        ^
0_0_13956370_30014\Main.java:91: 错误: 需要class, interface或enum
        k=0,g=0;
        ^
0_0_13956370_30014\Main.java:92: 错误: 需要class, interface或enum
        for(;;)
        ^
0_0_13956370_30014\Main.java:92: 错误: 需要class, interface或enum
        for(;;)
              ^
0_0_13956370_30014\Main.java:98: 错误: 需要class, interface或enum
            k++;
            ^
0_0_13956370_30014\Main.java:99: 错误: 需要class, interface或enum
            }
            ^
0_0_13956370_30014\Main.java:103: 错误: 需要class, interface或enum
                g++;//cout<<"t";
                ^
0_0_13956370_30014\Main.java:104: 错误: 需要class, interface或enum
            }
            ^
0_0_13956370_30014\Main.java:106: 错误: 需要class, interface或enum
        }
        ^
0_0_13956370_30014\Main.java:107: 错误: 需要class, interface或enum
        for(int i=0;i<4*q;i=i+4)
                    ^
0_0_13956370_30014\Main.java:107: 错误: 需要class, interface或enum
        for(int i=0;i<4*q;i=i+4)
                          ^
0_0_13956370_30014\Main.java:109: 错误: 需要class, interface或enum
    }
    ^
0_0_13956370_30014\Main.java:111: 错误: 需要class, interface或enum
}
^
78 个错误


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-29 21:39:25, Gzip enabled