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_25825320_18732\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_25825320_18732\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_25825320_18732\Main.java:2: 错误: 非法字符: '#'
#define clr(x) memset(x,0,sizeof(x))
^
0_0_25825320_18732\Main.java:3: 错误: 非法字符: '#'
#define clr_1(x) memset(x,-1,sizeof(x))
^
0_0_25825320_18732\Main.java:4: 错误: 非法字符: '#'
#define INF 0x3f3f3f3f
^
0_0_25825320_18732\Main.java:5: 错误: 非法字符: '#'
#define LL long long
^
0_0_25825320_18732\Main.java:6: 错误: 非法字符: '#'
#define pb push_back
^
0_0_25825320_18732\Main.java:7: 错误: 非法字符: '#'
#define ls(i) (i<<1)
^
0_0_25825320_18732\Main.java:8: 错误: 非法字符: '#'
#define rs(i) (i<<1|1)
^
0_0_25825320_18732\Main.java:9: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_25825320_18732\Main.java:10: 错误: 非法字符: '#'
#define fi first
^
0_0_25825320_18732\Main.java:11: 错误: 非法字符: '#'
#define se second
^
0_0_25825320_18732\Main.java:12: 错误: 非法字符: '#'
#define mod 1000000007
^
0_0_25825320_18732\Main.java:14: 错误: 需要class, interface或enum
const int N=1e4+10;
^
0_0_25825320_18732\Main.java:15: 错误: 需要class, interface或enum
char s[N];
^
0_0_25825320_18732\Main.java:16: 错误: 需要class, interface或enum
int n,k,t,now,preg,sucg,tmp,tmpk;
^
0_0_25825320_18732\Main.java:17: 错误: 需要class, interface或enum
int ans;
^
0_0_25825320_18732\Main.java:18: 错误: 需要class, interface或enum
struct lo{
^
0_0_25825320_18732\Main.java:20: 错误: 需要class, interface或enum
}loc[N];
^
0_0_25825320_18732\Main.java:21: 错误: 需要class, interface或enum
bool cmp(lo a,lo b)
^
0_0_25825320_18732\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_25825320_18732\Main.java:28: 错误: 需要class, interface或enum
    cin.tie(0);
    ^
0_0_25825320_18732\Main.java:29: 错误: 需要class, interface或enum
    cout.tie(0);
    ^
0_0_25825320_18732\Main.java:30: 错误: 需要class, interface或enum
    while(cin>>n>>k)
    ^
0_0_25825320_18732\Main.java:33: 错误: 需要class, interface或enum
        now=0;
        ^
0_0_25825320_18732\Main.java:34: 错误: 需要class, interface或enum
        t=0;
        ^
0_0_25825320_18732\Main.java:35: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
        ^
0_0_25825320_18732\Main.java:35: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                    ^
0_0_25825320_18732\Main.java:35: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                         ^
0_0_25825320_18732\Main.java:39: 错误: 需要class, interface或enum
            else if(now>0)
            ^
0_0_25825320_18732\Main.java:42: 错误: 需要class, interface或enum
                loc[t].pos=t;
                ^
0_0_25825320_18732\Main.java:43: 错误: 需要class, interface或enum
                now=0;
                ^
0_0_25825320_18732\Main.java:44: 错误: 需要class, interface或enum
            }
            ^
0_0_25825320_18732\Main.java:49: 错误: 需要class, interface或enum
            loc[t].pos=t;
            ^
0_0_25825320_18732\Main.java:50: 错误: 需要class, interface或enum
            now=0;
            ^
0_0_25825320_18732\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:55: 错误: 需要class, interface或enum
            continue;
            ^
0_0_25825320_18732\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:61: 错误: 需要class, interface或enum
            else if(k>=1)
            ^
0_0_25825320_18732\Main.java:63: 错误: 需要class, interface或enum
            else cout<<0<<endl;
            ^
0_0_25825320_18732\Main.java:64: 错误: 需要class, interface或enum
            continue;
            ^
0_0_25825320_18732\Main.java:65: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:67: 错误: 需要class, interface或enum
        preg=sucg=0;
        ^
0_0_25825320_18732\Main.java:68: 错误: 需要class, interface或enum
        if(s[1]=='1')
        ^
0_0_25825320_18732\Main.java:70: 错误: 需要class, interface或enum
            for(int i=1;i<=t;i++)
                        ^
0_0_25825320_18732\Main.java:70: 错误: 需要class, interface或enum
            for(int i=1;i<=t;i++)
                             ^
0_0_25825320_18732\Main.java:74: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_25825320_18732\Main.java:75: 错误: 需要class, interface或enum
                }
                ^
0_0_25825320_18732\Main.java:79: 错误: 需要class, interface或enum
            for(int i=1;i<=t;i++)
                        ^
0_0_25825320_18732\Main.java:79: 错误: 需要class, interface或enum
            for(int i=1;i<=t;i++)
                             ^
0_0_25825320_18732\Main.java:83: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_25825320_18732\Main.java:84: 错误: 需要class, interface或enum
                }
                ^
0_0_25825320_18732\Main.java:87: 错误: 需要class, interface或enum
        if(s[1]=='1')
        ^
0_0_25825320_18732\Main.java:89: 错误: 需要class, interface或enum
        if(s[1]=='1' && s[n]=='1' && k>=1)
        ^
0_0_25825320_18732\Main.java:91: 错误: 需要class, interface或enum
        tmp=0;
        ^
0_0_25825320_18732\Main.java:92: 错误: 需要class, interface或enum
        tmpk=(k+1)/2;
        ^
0_0_25825320_18732\Main.java:93: 错误: 需要class, interface或enum
        for(int i=1;i<=tmpk && i<=t;i++)
        ^
0_0_25825320_18732\Main.java:93: 错误: 需要class, interface或enum
        for(int i=1;i<=tmpk && i<=t;i++)
                    ^
0_0_25825320_18732\Main.java:93: 错误: 需要class, interface或enum
        for(int i=1;i<=tmpk && i<=t;i++)
                                    ^
0_0_25825320_18732\Main.java:95: 错误: 需要class, interface或enum
        ans=max(ans,tmp);
        ^
0_0_25825320_18732\Main.java:96: 错误: 需要class, interface或enum
        if(preg && k>=1)
        ^
0_0_25825320_18732\Main.java:99: 错误: 需要class, interface或enum
            tmpk=k/2;
            ^
0_0_25825320_18732\Main.java:100: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
            ^
0_0_25825320_18732\Main.java:100: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                             ^
0_0_25825320_18732\Main.java:100: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                                             ^
0_0_25825320_18732\Main.java:103: 错误: 需要class, interface或enum
            ans=max(ans,tmp);
            ^
0_0_25825320_18732\Main.java:104: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:108: 错误: 需要class, interface或enum
            tmpk=k/2;
            ^
0_0_25825320_18732\Main.java:109: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
            ^
0_0_25825320_18732\Main.java:109: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                             ^
0_0_25825320_18732\Main.java:109: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                                             ^
0_0_25825320_18732\Main.java:112: 错误: 需要class, interface或enum
            ans=max(ans,tmp);
            ^
0_0_25825320_18732\Main.java:113: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:117: 错误: 需要class, interface或enum
            tmpk=(k-1)/2;
            ^
0_0_25825320_18732\Main.java:118: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
            ^
0_0_25825320_18732\Main.java:118: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                             ^
0_0_25825320_18732\Main.java:118: 错误: 需要class, interface或enum
            for(int i=1,tk=0;tk<tmpk && i<=t;i++)
                                             ^
0_0_25825320_18732\Main.java:121: 错误: 需要class, interface或enum
            ans=max(ans,tmp);
            ^
0_0_25825320_18732\Main.java:122: 错误: 需要class, interface或enum
        }
        ^
0_0_25825320_18732\Main.java:124: 错误: 需要class, interface或enum
    }
    ^
0_0_25825320_18732\Main.java:126: 错误: 需要class, interface或enum
}
^
81 个错误


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-16 21:45:03, Gzip enabled