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_34644729_30513\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_34644729_30513\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_34644729_30513\Main.java:3: 错误: 需要class, interface或enum
int n,a[50005],c[50005],b,a1,a2;
^
0_0_34644729_30513\Main.java:4: 错误: 需要class, interface或enum
string d;
^
0_0_34644729_30513\Main.java:5: 错误: 需要class, interface或enum
int lowbit(int x){
^
0_0_34644729_30513\Main.java:7: 错误: 需要class, interface或enum
}
^
0_0_34644729_30513\Main.java:10: 错误: 需要class, interface或enum
    while(i>0){
    ^
0_0_34644729_30513\Main.java:12: 错误: 需要class, interface或enum
        i-=lowbit(i);
        ^
0_0_34644729_30513\Main.java:13: 错误: 需要class, interface或enum
    }
    ^
0_0_34644729_30513\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_34644729_30513\Main.java:19: 错误: 需要class, interface或enum
        i+=lowbit(i);
        ^
0_0_34644729_30513\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_34644729_30513\Main.java:25: 错误: 需要class, interface或enum
        i+=lowbit(i);
        ^
0_0_34644729_30513\Main.java:26: 错误: 需要class, interface或enum
    }
    ^
0_0_34644729_30513\Main.java:30: 错误: 需要class, interface或enum
    scanf("%d",&b);
    ^
0_0_34644729_30513\Main.java:31: 错误: 需要class, interface或enum
    for(i=1;i<=b;i++){
    ^
0_0_34644729_30513\Main.java:31: 错误: 需要class, interface或enum
    for(i=1;i<=b;i++){
            ^
0_0_34644729_30513\Main.java:31: 错误: 需要class, interface或enum
    for(i=1;i<=b;i++){
                 ^
0_0_34644729_30513\Main.java:33: 错误: 需要class, interface或enum
        for(j=1;j<=n;j++){
        ^
0_0_34644729_30513\Main.java:33: 错误: 需要class, interface或enum
        for(j=1;j<=n;j++){
                ^
0_0_34644729_30513\Main.java:33: 错误: 需要class, interface或enum
        for(j=1;j<=n;j++){
                     ^
0_0_34644729_30513\Main.java:35: 错误: 需要class, interface或enum
            add(j,a[j]);
            ^
0_0_34644729_30513\Main.java:36: 错误: 需要class, interface或enum
        }
        ^
0_0_34644729_30513\Main.java:40: 错误: 需要class, interface或enum
                if(flag==0){
                ^
0_0_34644729_30513\Main.java:42: 错误: 需要class, interface或enum
                }
                ^
0_0_34644729_30513\Main.java:44: 错误: 需要class, interface或enum
                printf("%d\n",sum(a2)-sum(a1-1));
                ^
0_0_34644729_30513\Main.java:45: 错误: 需要class, interface或enum
            }else if(d=="Add"){
            ^
0_0_34644729_30513\Main.java:47: 错误: 需要class, interface或enum
                add(a1,a2);
                ^
0_0_34644729_30513\Main.java:48: 错误: 需要class, interface或enum
            }else if(d=="Sub"){
            ^
0_0_34644729_30513\Main.java:50: 错误: 需要class, interface或enum
                sub(a1,a2);
                ^
0_0_34644729_30513\Main.java:51: 错误: 需要class, interface或enum
            }else if(d=="End"){
            ^
0_0_34644729_30513\Main.java:53: 错误: 需要class, interface或enum
            }
            ^
0_0_34644729_30513\Main.java:56: 错误: 需要class, interface或enum
        memset(c,0,sizeof(c));
        ^
0_0_34644729_30513\Main.java:57: 错误: 需要class, interface或enum
        memset(a,0,sizeof(a));
        ^
0_0_34644729_30513\Main.java:58: 错误: 需要class, interface或enum
    }
    ^
0_0_34644729_30513\Main.java:60: 错误: 需要class, interface或enum
}
^
36 个错误


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-30 08:14:32, Gzip enabled