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_22809946_3846\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_22809946_3846\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_22809946_3846\Main.java:5: 错误: 非法字符: '#'
#define SZ(a) int((a).size())
^
0_0_22809946_3846\Main.java:5: 错误: 需要class, interface或enum
#define SZ(a) int((a).size())
        ^
0_0_22809946_3846\Main.java:6: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_22809946_3846\Main.java:7: 错误: 非法字符: '#'
#define pb push_back
^
0_0_22809946_3846\Main.java:8: 错误: 非法字符: '#'
#define lson l,m,rt<<1
^
0_0_22809946_3846\Main.java:9: 错误: 非法字符: '#'
#define rson m+1,r,rt<<1|1
^
0_0_22809946_3846\Main.java:10: 错误: 非法字符: '#'
#define lrt rt<<1
^
0_0_22809946_3846\Main.java:11: 错误: 非法字符: '#'
#define rrt rt<<1|1
^
0_0_22809946_3846\Main.java:13: 错误: 需要class, interface或enum
typedef pair<int,int> PII;
^
0_0_22809946_3846\Main.java:14: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_22809946_3846\Main.java:15: 错误: 需要class, interface或enum
typedef unsigned long long ULL;
^
0_0_22809946_3846\Main.java:16: 错误: 需要class, interface或enum
const LL mod=1e9+7;
^
0_0_22809946_3846\Main.java:17: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_22809946_3846\Main.java:18: 错误: 需要class, interface或enum
const double PI=acos(-1.0);
^
0_0_22809946_3846\Main.java:19: 错误: 需要class, interface或enum
const double EPS=1e-6;
^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                ^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                       ^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                                                                 ^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                                                                                             ^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                                                                                                                                           ^
0_0_22809946_3846\Main.java:20: 错误: 需要class, interface或enum
inline void read(LL& x){int f=1;char c;while(((c=getchar())<'0'||c>'9')&&c!='-');c=='-'?(f=-1,x=0):(x=c-'0');while((c=getchar())>='0'&&c<='9')x=x*10+c-'0';x*=f;}
                                                                                                                                                                ^
0_0_22809946_3846\Main.java:21: 错误: 需要class, interface或enum
inline void read(int& x){LL t;read(t);x=t;}
                              ^
0_0_22809946_3846\Main.java:21: 错误: 需要class, interface或enum
inline void read(int& x){LL t;read(t);x=t;}
                                      ^
0_0_22809946_3846\Main.java:21: 错误: 需要class, interface或enum
inline void read(int& x){LL t;read(t);x=t;}
                                          ^
0_0_22809946_3846\Main.java:24: 错误: 需要class, interface或enum
int a[maxn];
^
0_0_22809946_3846\Main.java:26: 错误: 需要class, interface或enum
int main(){//ios_base::sync_with_stdio(0);cin.tie(0);
^
0_0_22809946_3846\Main.java:27: 错误: 需要class, interface或enum
    int t;cin>>t;
          ^
0_0_22809946_3846\Main.java:28: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_22809946_3846\Main.java:30: 错误: 需要class, interface或enum
        cin>>n;
        ^
0_0_22809946_3846\Main.java:31: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) cin>>a[i];
        ^
0_0_22809946_3846\Main.java:31: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) cin>>a[i];
                    ^
0_0_22809946_3846\Main.java:31: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++) cin>>a[i];
                        ^
0_0_22809946_3846\Main.java:32: 错误: 需要class, interface或enum
        int sum=0;
        ^
0_0_22809946_3846\Main.java:33: 错误: 需要class, interface或enum
        for(int i=1;i<n;i++){
        ^
0_0_22809946_3846\Main.java:33: 错误: 需要class, interface或enum
        for(int i=1;i<n;i++){
                    ^
0_0_22809946_3846\Main.java:33: 错误: 需要class, interface或enum
        for(int i=1;i<n;i++){
                        ^
0_0_22809946_3846\Main.java:35: 错误: 需要class, interface或enum
            sum+=x;
            ^
0_0_22809946_3846\Main.java:36: 错误: 需要class, interface或enum
        }
        ^
0_0_22809946_3846\Main.java:38: 错误: 需要class, interface或enum
        cout<<sum-x+1<<endl;
        ^
0_0_22809946_3846\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_22809946_3846\Main.java:41: 错误: 需要class, interface或enum
}
^
44 个错误


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:28:59, Gzip enabled