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_31381228_8153\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_31381228_8153\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
        ^
0_0_31381228_8153\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_31381228_8153\Main.java:3: 错误: 非法字符: '#'
#include<queue>
^
0_0_31381228_8153\Main.java:6: 错误: 需要class, interface或enum
const int MAXN=105;
^
0_0_31381228_8153\Main.java:7: 错误: 需要class, interface或enum
int n;
^
0_0_31381228_8153\Main.java:8: 错误: 需要class, interface或enum
int map[MAXN][MAXN];
^
0_0_31381228_8153\Main.java:9: 错误: 需要class, interface或enum
int ep[MAXN];
^
0_0_31381228_8153\Main.java:10: 错误: 需要class, interface或enum
int num[MAXN];
^
0_0_31381228_8153\Main.java:11: 错误: 需要class, interface或enum
bool spfa()
^
0_0_31381228_8153\Main.java:14: 错误: 需要class, interface或enum
    int i;
    ^
0_0_31381228_8153\Main.java:15: 错误: 需要class, interface或enum
    for(i=1;i<=n;i++)
    ^
0_0_31381228_8153\Main.java:15: 错误: 需要class, interface或enum
    for(i=1;i<=n;i++)
            ^
0_0_31381228_8153\Main.java:15: 错误: 需要class, interface或enum
    for(i=1;i<=n;i++)
                 ^
0_0_31381228_8153\Main.java:18: 错误: 需要class, interface或enum
        mark[i]=0;
        ^
0_0_31381228_8153\Main.java:19: 错误: 需要class, interface或enum
        num[i]=0;
        ^
0_0_31381228_8153\Main.java:20: 错误: 需要class, interface或enum
    }
    ^
0_0_31381228_8153\Main.java:22: 错误: 需要class, interface或enum
    queue<int> q;
    ^
0_0_31381228_8153\Main.java:23: 错误: 需要class, interface或enum
    q.push(1);
    ^
0_0_31381228_8153\Main.java:24: 错误: 需要class, interface或enum
    mark[1]=1;
    ^
0_0_31381228_8153\Main.java:25: 错误: 需要class, interface或enum
    while(!q.empty())
    ^
0_0_31381228_8153\Main.java:28: 错误: 需要class, interface或enum
        q.pop();
        ^
0_0_31381228_8153\Main.java:29: 错误: 需要class, interface或enum
        if(num[x]==n+1)
        ^
0_0_31381228_8153\Main.java:32: 错误: 需要class, interface或enum
        }
        ^
0_0_31381228_8153\Main.java:34: 错误: 需要class, interface或enum
        mark[x]=0;
        ^
0_0_31381228_8153\Main.java:35: 错误: 需要class, interface或enum
        if(num[x]==n+1)
        ^
0_0_31381228_8153\Main.java:38: 错误: 需要class, interface或enum
        }
        ^
0_0_31381228_8153\Main.java:44: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_31381228_8153\Main.java:44: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_31381228_8153\Main.java:49: 错误: 需要class, interface或enum
                d[i]=d[x]+ep[i];
                ^
0_0_31381228_8153\Main.java:50: 错误: 需要class, interface或enum
                if(!mark[i])
                ^
0_0_31381228_8153\Main.java:53: 错误: 需要class, interface或enum
                    mark[i]=1;
                    ^
0_0_31381228_8153\Main.java:54: 错误: 需要class, interface或enum
                }
                ^
0_0_31381228_8153\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_31381228_8153\Main.java:67: 错误: 需要class, interface或enum
        if(n==1)
        ^
0_0_31381228_8153\Main.java:70: 错误: 需要class, interface或enum
            continue;
            ^
0_0_31381228_8153\Main.java:71: 错误: 需要class, interface或enum
        }
        ^
0_0_31381228_8153\Main.java:73: 错误: 需要class, interface或enum
        int i;
        ^
0_0_31381228_8153\Main.java:74: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
        ^
0_0_31381228_8153\Main.java:74: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                ^
0_0_31381228_8153\Main.java:74: 错误: 需要class, interface或enum
        for(i=1;i<=n;i++)
                     ^
0_0_31381228_8153\Main.java:77: 错误: 需要class, interface或enum
            int m;
            ^
0_0_31381228_8153\Main.java:78: 错误: 需要class, interface或enum
            scanf("%d",&m);
            ^
0_0_31381228_8153\Main.java:79: 错误: 需要class, interface或enum
            int j,d;
            ^
0_0_31381228_8153\Main.java:80: 错误: 需要class, interface或enum
            for(j=0;j<m;j++)
            ^
0_0_31381228_8153\Main.java:80: 错误: 需要class, interface或enum
            for(j=0;j<m;j++)
                    ^
0_0_31381228_8153\Main.java:80: 错误: 需要class, interface或enum
            for(j=0;j<m;j++)
                        ^
0_0_31381228_8153\Main.java:83: 错误: 需要class, interface或enum
                map[i][d]=1;
                ^
0_0_31381228_8153\Main.java:84: 错误: 需要class, interface或enum
            }
            ^
0_0_31381228_8153\Main.java:88: 错误: 需要class, interface或enum
        else 
        ^
0_0_31381228_8153\Main.java:90: 错误: 需要class, interface或enum
    }
    ^
0_0_31381228_8153\Main.java:92: 错误: 需要class, interface或enum
}
^
52 个错误


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 10:08:29, Gzip enabled