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_39107295_15189\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h> //双向广搜
^
0_0_39107295_15189\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h> //双向广搜
         ^
0_0_39107295_15189\Main.java:3: 错误: 非法字符: '#'
#define ioss ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
^
0_0_39107295_15189\Main.java:3: 错误: 需要class, interface或enum
#define ioss ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
        ^
0_0_39107295_15189\Main.java:3: 错误: 需要class, interface或enum
#define ioss ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
                                         ^
0_0_39107295_15189\Main.java:3: 错误: 需要class, interface或enum
#define ioss ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
                                                       ^
0_0_39107295_15189\Main.java:4: 错误: 需要class, interface或enum
typedef pair<int,int> P;
^
0_0_39107295_15189\Main.java:5: 错误: 需要class, interface或enum
int S,E;
^
0_0_39107295_15189\Main.java:6: 错误: 需要class, interface或enum
queue<P> a,b;
^
0_0_39107295_15189\Main.java:7: 错误: 需要class, interface或enum
int ans;
^
0_0_39107295_15189\Main.java:8: 错误: 需要class, interface或enum
void init(){
^
0_0_39107295_15189\Main.java:10: 错误: 需要class, interface或enum
    swap(a,e1);
    ^
0_0_39107295_15189\Main.java:11: 错误: 需要class, interface或enum
    swap(b,e2);
    ^
0_0_39107295_15189\Main.java:12: 错误: 需要class, interface或enum
    ans=-1;
    ^
0_0_39107295_15189\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_39107295_15189\Main.java:16: 错误: 需要class, interface或enum
    sprintf(s,"%d",num);
    ^
0_0_39107295_15189\Main.java:17: 错误: 需要class, interface或enum
    for(int i=0;i<4;++i){
    ^
0_0_39107295_15189\Main.java:17: 错误: 需要class, interface或enum
    for(int i=0;i<4;++i){
                ^
0_0_39107295_15189\Main.java:17: 错误: 需要class, interface或enum
    for(int i=0;i<4;++i){
                    ^
0_0_39107295_15189\Main.java:20: 错误: 需要class, interface或enum
            sscanf(s,"%d",&num);
            ^
0_0_39107295_15189\Main.java:21: 错误: 需要class, interface或enum
            if(!vis[num]){
            ^
0_0_39107295_15189\Main.java:23: 错误: 需要class, interface或enum
                ss.push(make_pair(num,dep));
                ^
0_0_39107295_15189\Main.java:24: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:26: 错误: 需要class, interface或enum
        }else{
        ^
0_0_39107295_15189\Main.java:28: 错误: 需要class, interface或enum
            sscanf(s,"%d",&num);
            ^
0_0_39107295_15189\Main.java:29: 错误: 需要class, interface或enum
            if(!vis[num]){
            ^
0_0_39107295_15189\Main.java:31: 错误: 需要class, interface或enum
                ss.push(make_pair(num,dep));
                ^
0_0_39107295_15189\Main.java:32: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:34: 错误: 需要class, interface或enum
        }
        ^
0_0_39107295_15189\Main.java:38: 错误: 需要class, interface或enum
            sscanf(s,"%d",&num);
            ^
0_0_39107295_15189\Main.java:39: 错误: 需要class, interface或enum
            if(!vis[num]){
            ^
0_0_39107295_15189\Main.java:41: 错误: 需要class, interface或enum
                ss.push(make_pair(num,dep));
                ^
0_0_39107295_15189\Main.java:42: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:44: 错误: 需要class, interface或enum
        }else{
        ^
0_0_39107295_15189\Main.java:46: 错误: 需要class, interface或enum
            sscanf(s,"%d",&num);
            ^
0_0_39107295_15189\Main.java:47: 错误: 需要class, interface或enum
            if(!vis[num]){
            ^
0_0_39107295_15189\Main.java:49: 错误: 需要class, interface或enum
                ss.push(make_pair(num,dep));
                ^
0_0_39107295_15189\Main.java:50: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:52: 错误: 需要class, interface或enum
        }
        ^
0_0_39107295_15189\Main.java:56: 错误: 需要class, interface或enum
            sscanf(s,"%d",&num);
            ^
0_0_39107295_15189\Main.java:57: 错误: 需要class, interface或enum
            if(!vis[num]){
            ^
0_0_39107295_15189\Main.java:59: 错误: 需要class, interface或enum
                ss.push(make_pair(num,dep));
                ^
0_0_39107295_15189\Main.java:60: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:62: 错误: 需要class, interface或enum
        }
        ^
0_0_39107295_15189\Main.java:67: 错误: 需要class, interface或enum
    b.push(make_pair(E,0));
    ^
0_0_39107295_15189\Main.java:68: 错误: 需要class, interface或enum
    int M[10010]={0},N[10010]={0};
    ^
0_0_39107295_15189\Main.java:69: 错误: 需要class, interface或enum
    N[S]=1;M[E]=1;
    ^
0_0_39107295_15189\Main.java:69: 错误: 需要class, interface或enum
    N[S]=1;M[E]=1;
           ^
0_0_39107295_15189\Main.java:70: 错误: 需要class, interface或enum
    while(!a.empty()||!b.empty()){
    ^
0_0_39107295_15189\Main.java:73: 错误: 需要class, interface或enum
            int dep=tmp.second;
            ^
0_0_39107295_15189\Main.java:74: 错误: 需要class, interface或enum
            while(tmp.second==dep){
            ^
0_0_39107295_15189\Main.java:77: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_39107295_15189\Main.java:78: 错误: 需要class, interface或enum
                }
                ^
0_0_39107295_15189\Main.java:81: 错误: 需要class, interface或enum
                a.pop();
                ^
0_0_39107295_15189\Main.java:82: 错误: 需要class, interface或enum
                tmp=a.front();
                ^
0_0_39107295_15189\Main.java:83: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:86: 错误: 需要class, interface或enum
            int dep=tmp.second;
            ^
0_0_39107295_15189\Main.java:87: 错误: 需要class, interface或enum
            while(tmp.second==dep){
            ^
0_0_39107295_15189\Main.java:90: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_39107295_15189\Main.java:91: 错误: 需要class, interface或enum
                }
                ^
0_0_39107295_15189\Main.java:94: 错误: 需要class, interface或enum
                b.pop();
                ^
0_0_39107295_15189\Main.java:95: 错误: 需要class, interface或enum
                tmp=b.front();
                ^
0_0_39107295_15189\Main.java:96: 错误: 需要class, interface或enum
            }
            ^
0_0_39107295_15189\Main.java:99: 错误: 需要class, interface或enum
    }
    ^
0_0_39107295_15189\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_39107295_15189\Main.java:104: 错误: 需要class, interface或enum
    cin>>T;
    ^
0_0_39107295_15189\Main.java:105: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_39107295_15189\Main.java:107: 错误: 需要class, interface或enum
        cin>>S>>E;
        ^
0_0_39107295_15189\Main.java:108: 错误: 需要class, interface或enum
        dbfs();
        ^
0_0_39107295_15189\Main.java:109: 错误: 需要class, interface或enum
    }
    ^
0_0_39107295_15189\Main.java:111: 错误: 需要class, interface或enum
}
^
71 个错误


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-17 09:49:01, Gzip enabled