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_22121552_32726\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_22121552_32726\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_22121552_32726\Main.java:5: 错误: 非法字符: '#'
#define SZ(a) int((a).size())
^
0_0_22121552_32726\Main.java:5: 错误: 需要class, interface或enum
#define SZ(a) int((a).size())
        ^
0_0_22121552_32726\Main.java:6: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_22121552_32726\Main.java:7: 错误: 非法字符: '#'
#define pb push_back
^
0_0_22121552_32726\Main.java:9: 错误: 需要class, interface或enum
typedef pair<int,int> PII;
^
0_0_22121552_32726\Main.java:10: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_22121552_32726\Main.java:11: 错误: 需要class, interface或enum
typedef unsigned long long ULL;
^
0_0_22121552_32726\Main.java:12: 错误: 需要class, interface或enum
const LL mod=1e9+7;
^
0_0_22121552_32726\Main.java:13: 错误: 需要class, interface或enum
const int INF=0x3f3f3f3f;
^
0_0_22121552_32726\Main.java:14: 错误: 需要class, interface或enum
const double PI=acos(-1.0);
^
0_0_22121552_32726\Main.java:15: 错误: 需要class, interface或enum
const double EPS=1e-6;
^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                               ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                         ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                            ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                        ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                                ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                                            ^
0_0_22121552_32726\Main.java:16: 错误: 需要class, interface或enum
inline int readint(){int sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                                                               ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                            ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                             ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                      ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                         ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                     ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                             ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                                         ^
0_0_22121552_32726\Main.java:17: 错误: 需要class, interface或enum
inline LL readLL(){LL sum=0;char c=getchar();bool f=0;while(c<'0'||c>'9'){if(c=='-') f=1;c=getchar();}while(c>='0'&&c<='9'){sum=sum*10+c-'0';c=getchar();}return f?-sum:sum;}
                                                                                                                                                                            ^
0_0_22121552_32726\Main.java:20: 错误: 需要class, interface或enum
queue<int> s;
^
0_0_22121552_32726\Main.java:21: 错误: 需要class, interface或enum
int n;
^
0_0_22121552_32726\Main.java:22: 错误: 需要class, interface或enum
inline bool ch2(int i){
^
0_0_22121552_32726\Main.java:24: 错误: 需要class, interface或enum
    if(a[r[i]]>=a[i]) return true;
    ^
0_0_22121552_32726\Main.java:25: 错误: 需要class, interface或enum
    return false;
    ^
0_0_22121552_32726\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_22121552_32726\Main.java:29: 错误: 需要class, interface或enum
    if(a[l[i]]<=a[i]) return true;
    ^
0_0_22121552_32726\Main.java:30: 错误: 需要class, interface或enum
    return false;
    ^
0_0_22121552_32726\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_22121552_32726\Main.java:34: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_22121552_32726\Main.java:36: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
        ^
0_0_22121552_32726\Main.java:36: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                    ^
0_0_22121552_32726\Main.java:36: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++){
                         ^
0_0_22121552_32726\Main.java:38: 错误: 需要class, interface或enum
            l[i]=i-1;r[i]=i+1;
            ^
0_0_22121552_32726\Main.java:38: 错误: 需要class, interface或enum
            l[i]=i-1;r[i]=i+1;
                     ^
0_0_22121552_32726\Main.java:39: 错误: 需要class, interface或enum
        }
        ^
0_0_22121552_32726\Main.java:40: 错误: 需要class, interface或enum
        r[n]=INF;r[0]=1;
                 ^
0_0_22121552_32726\Main.java:41: 错误: 需要class, interface或enum
        int cnt=n;
        ^
0_0_22121552_32726\Main.java:42: 错误: 需要class, interface或enum
        while(!s.empty()) s.pop();
        ^
0_0_22121552_32726\Main.java:43: 错误: 需要class, interface或enum
        bool fg=false;
        ^
0_0_22121552_32726\Main.java:44: 错误: 需要class, interface或enum
        while(!fg){
        ^
0_0_22121552_32726\Main.java:46: 错误: 需要class, interface或enum
            for(int i=r[0];i!=INF;i=r[i]){
            ^
0_0_22121552_32726\Main.java:46: 错误: 需要class, interface或enum
            for(int i=r[0];i!=INF;i=r[i]){
                           ^
0_0_22121552_32726\Main.java:46: 错误: 需要class, interface或enum
            for(int i=r[0];i!=INF;i=r[i]){
                                  ^
0_0_22121552_32726\Main.java:49: 错误: 需要class, interface或enum
                    cnt--;
                    ^
0_0_22121552_32726\Main.java:50: 错误: 需要class, interface或enum
                    s.push(i);
                    ^
0_0_22121552_32726\Main.


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-12-04 23:27:22, Gzip enabled