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_39337052_18019\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39337052_18019\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_39337052_18019\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_39337052_18019\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39337052_18019\Main.java:6: 错误: 需要class, interface或enum
const int INF = 99999999;
^
0_0_39337052_18019\Main.java:7: 错误: 需要class, interface或enum
const int N = 1005;
^
0_0_39337052_18019\Main.java:9: 错误: 需要class, interface或enum
int e[N][N],dis[N],book[N]={0};
^
0_0_39337052_18019\Main.java:10: 错误: 需要class, interface或enum
int main()
^
0_0_39337052_18019\Main.java:14: 错误: 需要class, interface或enum
    while(~scanf("%d",&n))
    ^
0_0_39337052_18019\Main.java:16: 错误: 需要class, interface或enum
        for(int i = 1;i <= n;i++)
                      ^
0_0_39337052_18019\Main.java:16: 错误: 需要class, interface或enum
        for(int i = 1;i <= n;i++)
                             ^
0_0_39337052_18019\Main.java:17: 错误: 需要class, interface或enum
            for(int j = 1;j <= n;j++)
                          ^
0_0_39337052_18019\Main.java:17: 错误: 需要class, interface或enum
            for(int j = 1;j <= n;j++)
                                 ^
0_0_39337052_18019\Main.java:20: 错误: 需要class, interface或enum
        int q;
        ^
0_0_39337052_18019\Main.java:21: 错误: 需要class, interface或enum
        scanf("%d",&q);
        ^
0_0_39337052_18019\Main.java:22: 错误: 需要class, interface或enum
        int t1,t2;
        ^
0_0_39337052_18019\Main.java:23: 错误: 需要class, interface或enum
        for(int i = 1;i <= q;i++)
        ^
0_0_39337052_18019\Main.java:23: 错误: 需要class, interface或enum
        for(int i = 1;i <= q;i++)
                      ^
0_0_39337052_18019\Main.java:23: 错误: 需要class, interface或enum
        for(int i = 1;i <= q;i++)
                             ^
0_0_39337052_18019\Main.java:26: 错误: 需要class, interface或enum
            e[t1][t2] = e[t2][t1] = 0;
            ^
0_0_39337052_18019\Main.java:27: 错误: 需要class, interface或enum
        }
        ^
0_0_39337052_18019\Main.java:30: 错误: 需要class, interface或enum
        for(int i = 1;i <= n;i++)
                      ^
0_0_39337052_18019\Main.java:30: 错误: 需要class, interface或enum
        for(int i = 1;i <= n;i++)
                             ^
0_0_39337052_18019\Main.java:32: 错误: 需要class, interface或enum
        memset(book,0,sizeof(book));
        ^
0_0_39337052_18019\Main.java:34: 错误: 需要class, interface或enum
        int counter = 0,sum = 0;
        ^
0_0_39337052_18019\Main.java:37: 错误: 需要class, interface或enum
        book[1] = 1;
        ^
0_0_39337052_18019\Main.java:38: 错误: 需要class, interface或enum
        counter++;
        ^
0_0_39337052_18019\Main.java:39: 错误: 需要class, interface或enum
        int u,v,minn;
        ^
0_0_39337052_18019\Main.java:40: 错误: 需要class, interface或enum
        while(counter < n)
        ^
0_0_39337052_18019\Main.java:43: 错误: 需要class, interface或enum
            for(int i = 1;i <= n;i++)
            ^
0_0_39337052_18019\Main.java:43: 错误: 需要class, interface或enum
            for(int i = 1;i <= n;i++)
                          ^
0_0_39337052_18019\Main.java:43: 错误: 需要class, interface或enum
            for(int i = 1;i <= n;i++)
                                 ^
0_0_39337052_18019\Main.java:48: 错误: 需要class, interface或enum
                    u = i;
                    ^
0_0_39337052_18019\Main.java:49: 错误: 需要class, interface或enum
                }
                ^
0_0_39337052_18019\Main.java:53: 错误: 需要class, interface或enum
            counter++;
            ^
0_0_39337052_18019\Main.java:54: 错误: 需要class, interface或enum
            sum += dis[u];
            ^
0_0_39337052_18019\Main.java:55: 错误: 需要class, interface或enum
            for(int v = 1;v <= n;v++)
            ^
0_0_39337052_18019\Main.java:55: 错误: 需要class, interface或enum
            for(int v = 1;v <= n;v++)
                          ^
0_0_39337052_18019\Main.java:55: 错误: 需要class, interface或enum
            for(int v = 1;v <= n;v++)
                                 ^
0_0_39337052_18019\Main.java:59: 错误: 需要class, interface或enum
            }
            ^
0_0_39337052_18019\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
0_0_39337052_18019\Main.java:64: 错误: 需要class, interface或enum
}
^
42 个错误


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-28 22:52:51, Gzip enabled