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_28534993_25140\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_28534993_25140\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_28534993_25140\Main.java:3: 错误: 非法字符: '#'
#define debug(x) cout<<#x<<":"<<x<<endl
^
0_0_28534993_25140\Main.java:3: 错误: 需要class, interface或enum
#define debug(x) cout<<#x<<":"<<x<<endl
        ^
0_0_28534993_25140\Main.java:3: 错误: 非法字符: '#'
#define debug(x) cout<<#x<<":"<<x<<endl
                       ^
0_0_28534993_25140\Main.java:4: 错误: 非法字符: '#'
#define fi first
^
0_0_28534993_25140\Main.java:5: 错误: 非法字符: '#'
#define se second
^
0_0_28534993_25140\Main.java:6: 错误: 非法字符: '#'
#define pb push_back
^
0_0_28534993_25140\Main.java:7: 错误: 非法字符: '#'
#define CI const int
^
0_0_28534993_25140\Main.java:8: 错误: 非法字符: '#'
#define VECI vector<int>
^
0_0_28534993_25140\Main.java:9: 错误: 非法字符: '#'
#define VECC vector<char>
^
0_0_28534993_25140\Main.java:10: 错误: 非法字符: '#'
#define RT return
^
0_0_28534993_25140\Main.java:11: 错误: 非法字符: '#'
#define IOS ios::sync_with_stdio(false),cin.tie(0)
^
0_0_28534993_25140\Main.java:12: 错误: 非法字符: '#'
#define BG begin()
^
0_0_28534993_25140\Main.java:13: 错误: 非法字符: '#'
#define ED end()
^
0_0_28534993_25140\Main.java:14: 错误: 非法字符: '#'
#define LEN length()
^
0_0_28534993_25140\Main.java:15: 错误: 非法字符: '#'
#define PASS(x) if(x)continue
^
0_0_28534993_25140\Main.java:16: 错误: 非法字符: '#'
#define MP make_pair
^
0_0_28534993_25140\Main.java:17: 错误: 非法字符: '#'
#define MAX(x,y) x=max(x,y)
^
0_0_28534993_25140\Main.java:18: 错误: 非法字符: '#'
#define MIN(x,y) x=min(x,y)
^
0_0_28534993_25140\Main.java:19: 错误: 非法字符: '#'
#define SIZ(x) (int)x.size()
^
0_0_28534993_25140\Main.java:20: 错误: 非法字符: '#'
#define ALL(x) (x).begin(),(x).end()
^
0_0_28534993_25140\Main.java:21: 错误: 非法字符: '#'
#define MEM(x,y) memset(x,y,sizeof(x))
^
0_0_28534993_25140\Main.java:22: 错误: 非法字符: '#'
#define inc(i,l,h) for(int i=(l);i<(h);++i)
^
0_0_28534993_25140\Main.java:22: 错误: 需要class, interface或enum
#define inc(i,l,h) for(int i=(l);i<(h);++i)
                                 ^
0_0_28534993_25140\Main.java:22: 错误: 需要class, interface或enum
#define inc(i,l,h) for(int i=(l);i<(h);++i)
                                       ^
0_0_28534993_25140\Main.java:23: 错误: 非法字符: '#'
#define rep(i,l,h) for(int i=(l);i<=(h);++i)
^
0_0_28534993_25140\Main.java:23: 错误: 需要class, interface或enum
#define rep(i,l,h) for(int i=(l);i<=(h);++i)
                                 ^
0_0_28534993_25140\Main.java:23: 错误: 需要class, interface或enum
#define rep(i,l,h) for(int i=(l);i<=(h);++i)
                                        ^
0_0_28534993_25140\Main.java:24: 错误: 非法字符: '#'
#define drep(i,h,l) for(int i=(h);i>=(l);--i)
^
0_0_28534993_25140\Main.java:24: 错误: 需要class, interface或enum
#define drep(i,h,l) for(int i=(h);i>=(l);--i)
                                  ^
0_0_28534993_25140\Main.java:24: 错误: 需要class, interface或enum
#define drep(i,h,l) for(int i=(h);i>=(l);--i)
                                         ^
0_0_28534993_25140\Main.java:26: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_28534993_25140\Main.java:27: 错误: 需要class, interface或enum
typedef unsigned long long ULL;
^
0_0_28534993_25140\Main.java:29: 错误: 需要class, interface或enum
CI INF=0x3f3f3f3f;
^
0_0_28534993_25140\Main.java:30: 错误: 需要class, interface或enum
CI MAXN=2e5+5;
^
0_0_28534993_25140\Main.java:32: 错误: 需要class, interface或enum
int a[MAXN];
^
0_0_28534993_25140\Main.java:33: 错误: 需要class, interface或enum
int ans[MAXN];
^
0_0_28534993_25140\Main.java:34: 错误: 需要class, interface或enum
int n;
^
0_0_28534993_25140\Main.java:36: 错误: 需要class, interface或enum
struct Node{
^
0_0_28534993_25140\Main.java:38: 错误: 需要class, interface或enum
}node[MAXN<<1];
^
0_0_28534993_25140\Main.java:39: 错误: 需要class, interface或enum
int m_cnt,head[MAXN];
^
0_0_28534993_25140\Main.java:40: 错误: 需要class, interface或enum
inline void inst(int u,int v){
^
0_0_28534993_25140\Main.java:42: 错误: 需要class, interface或enum
  node[m_cnt].next=head[u];
  ^
0_0_28534993_25140\Main.java:43: 错误: 需要class, interface或enum
  head[u]=m_cnt++;
  ^
0_0_28534993_25140\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_28534993_25140\Main.java:47: 错误: 需要class, interface或enum
  MEM(head,-1);
  ^
0_0_28534993_25140\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_28534993_25140\Main.java:51: 错误: 需要class, interface或enum
};
^
0_0_28534993_25140\Main.java:52: 错误: 需要class, interface或enum
queue<Que>q;
^
0_0_28534993_25140\Main.java:53: 错误: 需要class, interface或enum
VECI from;
^
0_0_28534993_25140\Main.java:54: 错误: 需要class, interface或enum
void bfs(){
^
0_0_28534993_25140\Main.java:56: 错误: 需要class, interface或enum
   swap(tmp,q);}
   ^
0_0_28534993_25140\Main.java:56: 错误: 需要class, interface或enum
   swap(tmp,q);}
               ^
0_0_28534993_25140\Main.java:58: 错误: 需要class, interface或enum
  int mx=-1;
  ^
0_0_28534993_25140\Main.java:59: 错误: 需要class, interface或enum
  from.clear();
  ^
0_0_28534993_25140\Main.java:60: 错误: 需要class, interface或enum
  inc(i,0,n){
  ^
0_0_28534993_25140\Main.java:63: 错误: 需要class, interface或enum
      from.clear();
      ^
0_0_28534993_25140\Main.java:64: 错误: 需要class, interface或enum
      from.pb(i);
      ^
0_0_28534993_25140\Main.java:65: 错误: 需要class, interface或enum
    }else if(mx==a[i]){
    ^
0_0_28534993_25140\Main.java:67: 错误: 需要class, interface或enum
    }
    ^
0_0_28534993_25140\Main.java:70: 错误: 需要class, interface或enum
  for(auto i:from)q.push(Que{i,0});
  ^
0_0_28534993_25140\Main.java:71: 错误: 需要class, interface或enum
  int last=0;
  ^
0_0_28534993_25140\Main.java:72: 错误: 需要class, interface或enum
  VECI now;now.clear();
  ^
0_0_28534993_25140\Main.java:72: 错误: 需要class, interface或enum
  VECI now;now.clear();
           ^
0_0_28534993_25140\Main.java:73: 错误: 需要class, interface或enum
  while(1){
  ^
0_0_28534993_25140\Main.java:76: 错误: 需要class, interface或enum
      for(auto i:now) q.push(Que{i,last+1});
      ^
0_0_28534993_25140\Main.java:77: 错误: 需要class, interface或enum
      now.clear();
      ^
0_0_28534993_25140\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_28534993_25140\Main.java:80: 错误: 需要class, interface或enum
    Que top=q.front();q.pop();
    ^
0_0_28534993_25140\Main.java:80: 错误: 需要class, interface或enum
    Que top=q.front();q.pop();
                      ^
0_0_28534993_25140\Main.java:81: 错误: 需要class, interface或enum
    int u=top.id;
    ^
0_0_28534993_25140\Main.java:82: 错误: 需要class, interface或enum
    last=top.dep;
    ^
0_0_28534993_25140\Main.java:83: 错误: 需要class, interface或enum
    if(last>=n)break;
    ^
0_0_28534993_25140\Main.java:84: 错误: 需要class, interface或enum
    mx=-1;
    ^
0_0_28534993_25140\Main.java:85: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=node[i].next){
    ^
0_0_28534993_25140\Main.java:85: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=node[i].next){
                      ^
0_0_28534993_25140\Main.java:85: 错误: 需要class, interface或enum
    for(int i=head[u];i!=-1;i=node[i].next){
                            ^
0_0_28534993_25140\Main.java:86: 错误: 需要class, interface或enum
      int v=node[i].v;int val=a[v];
                      ^
0_0_28534993_25140\Main.java:87: 错误: 需要class, interface或enum
      if(mx<val){
      ^
0_0_28534993_25140\Main.java:89: 错误: 需要class, interface或enum
        now.pb(v);
        ^
0_0_28534993_25140\Main.java:90: 错误: 需要class, interface或enum
        mx=val;
        ^
0_0_28534993_25140\Main.java:91: 错误: 需要class, interface或enum
      }else if(mx==val){
      ^
0_0_28534993_25140\Main.java:93: 错误: 需要class, interface或enum
      }
      ^
0_0_28534993_25140\Main.java:99: 错误: 需要class, interface或enum
  int t;
  ^
0_0_28534993_25140\Main.java:100: 错误: 需要class, interface或enum
  cin>>t;
  ^
0_0_28534993_25140\Main.java:101: 错误: 需要class, interface或enum
  rep(cs,1,t){
  ^
0_0_28534993_25140\Main.java:103: 错误: 需要class, interface或enum
    cin>>n;
    ^
0_0_28534993_25140\Main.java:104: 错误: 需要class, interface或enum
    string s;
    ^
0_0_28534993_25140\Main.java:105: 错误: 需要class, interface或enum
    cin>>s;
    ^
0_0_28534993_25140\Main.java:106: 错误: 需要class, interface或enum
    inc(i,0,n)a[i]=s[i]-'0';
    ^
0_0_28534993_25140\Main.java:107: 错误: 需要class, interface或enum
    inc(i,0,n){
    ^
0_0_28534993_25140\Main.java:109: 错误: 需要class, interface或enum
      int v=(i*i+1)%n;
      ^
0_0_28534993_25140\Main.java:110: 错误: 需要class, interface或enum
      inst(u,v);
      ^
0_0_28534993_25140\Main.java:111: 错误: 需要class, interface或enum
    }
    ^
0_0_28534993_25140\Main.java:113: 错误: 需要class, interface或enum
    cout<<"Case #"<<cs<<": ";
    ^
0_0_28534993_25140\Main.java:114: 错误: 需要class, interface或enum
    inc(i,0,n)cout<<ans[i];
    ^
0_0_28534993_25140\Main.java:115: 错误: 需要class,


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 09:27:55, Gzip enabled