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_19227030_24389\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_19227030_24389\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_19227030_24389\Main.java:2: 错误: 非法字符: '#'
#define maxn 110000
^
0_0_19227030_24389\Main.java:3: 错误: 非法字符: '#'
#define debug
^
0_0_19227030_24389\Main.java:4: 错误: 非法字符: '#'
#define LL long long
^
0_0_19227030_24389\Main.java:7: 错误: 需要class, interface或enum
LL t, eg, n, m;
^
0_0_19227030_24389\Main.java:8: 错误: 需要class, interface或enum
LL x[maxn], y[maxn], c[maxn];
^
0_0_19227030_24389\Main.java:9: 错误: 需要class, interface或enum
LL w[maxn];
^
0_0_19227030_24389\Main.java:10: 错误: 需要class, interface或enum
LL head[maxn];
^
0_0_19227030_24389\Main.java:11: 错误: 需要class, interface或enum
LL vis[maxn], dis[maxn];
^
0_0_19227030_24389\Main.java:12: 错误: 需要class, interface或enum
LL ans = 0;
^
0_0_19227030_24389\Main.java:14: 错误: 需要class, interface或enum
struct A{
^
0_0_19227030_24389\Main.java:16: 错误: 需要class, interface或enum
}star[maxn*2];
^
0_0_19227030_24389\Main.java:18: 错误: 需要class, interface或enum
void init(){
^
0_0_19227030_24389\Main.java:20: 错误: 需要class, interface或enum
    memset(head, -1, sizeof head);
    ^
0_0_19227030_24389\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_19227030_24389\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_19227030_24389\Main.java:29: 错误: 需要class, interface或enum
    queue<LL>Q;
    ^
0_0_19227030_24389\Main.java:30: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++) vis[i] = 0, dis[i] = 1e18;
    ^
0_0_19227030_24389\Main.java:30: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++) vis[i] = 0, dis[i] = 1e18;
                ^
0_0_19227030_24389\Main.java:30: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++) vis[i] = 0, dis[i] = 1e18;
                      ^
0_0_19227030_24389\Main.java:31: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++)
    ^
0_0_19227030_24389\Main.java:31: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++)
                ^
0_0_19227030_24389\Main.java:31: 错误: 需要class, interface或enum
    for(LL i=1; i<=m; i++)
                      ^
0_0_19227030_24389\Main.java:34: 错误: 需要class, interface或enum
    while(!Q.empty()){
    ^
0_0_19227030_24389\Main.java:36: 错误: 需要class, interface或enum
        Q.pop();
        ^
0_0_19227030_24389\Main.java:37: 错误: 需要class, interface或enum
        vis[now] = 0;
        ^
0_0_19227030_24389\Main.java:38: 错误: 需要class, interface或enum
        for(int i=head[now]; ~i; i=star[i].next){
        ^
0_0_19227030_24389\Main.java:38: 错误: 需要class, interface或enum
        for(int i=head[now]; ~i; i=star[i].next){
                             ^
0_0_19227030_24389\Main.java:38: 错误: 需要class, interface或enum
        for(int i=head[now]; ~i; i=star[i].next){
                                 ^
0_0_19227030_24389\Main.java:40: 错误: 需要class, interface或enum
            if(dis[v] > dis[now] + star[i].w){
            ^
0_0_19227030_24389\Main.java:42: 错误: 需要class, interface或enum
                if(!vis[v]){
                ^
0_0_19227030_24389\Main.java:44: 错误: 需要class, interface或enum
                    vis[v] = 1;
                    ^
0_0_19227030_24389\Main.java:45: 错误: 需要class, interface或enum
                }
                ^
0_0_19227030_24389\Main.java:50: 错误: 需要class, interface或enum
    for(int i=1; i<=m; i++){
    ^
0_0_19227030_24389\Main.java:50: 错误: 需要class, interface或enum
    for(int i=1; i<=m; i++){
                 ^
0_0_19227030_24389\Main.java:50: 错误: 需要class, interface或enum
    for(int i=1; i<=m; i++){
                       ^
0_0_19227030_24389\Main.java:54: 错误: 需要class, interface或enum
            else ans += dis[i];
            ^
0_0_19227030_24389\Main.java:55: 错误: 需要class, interface或enum
        }
        ^
0_0_19227030_24389\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_19227030_24389\Main.java:62: 错误: 需要class, interface或enum
int main(){
^
0_0_19227030_24389\Main.java:63: 错误: 需要class, interface或enum
    LL t; scanf("%lld", &t);
          ^
0_0_19227030_24389\Main.java:64: 错误: 需要class, interface或enum
    while(t--){
    ^
0_0_19227030_24389\Main.java:66: 错误: 需要class, interface或enum
        scanf("%lld%lld", &n, &m);
        ^
0_0_19227030_24389\Main.java:67: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &x[i]);
        ^
0_0_19227030_24389\Main.java:67: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &x[i]);
                    ^
0_0_19227030_24389\Main.java:67: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &x[i]);
                          ^
0_0_19227030_24389\Main.java:68: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &y[i]);
        ^
0_0_19227030_24389\Main.java:68: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &y[i]);
                    ^
0_0_19227030_24389\Main.java:68: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &y[i]);
                          ^
0_0_19227030_24389\Main.java:69: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &c[i]);
        ^
0_0_19227030_24389\Main.java:69: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &c[i]);
                    ^
0_0_19227030_24389\Main.java:69: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) scanf("%lld", &c[i]);
                          ^
0_0_19227030_24389\Main.java:70: 错误: 需要class, interface或enum
        for(LL i=1; i<=m; i++) scanf("%lld", &w[i]);
        ^
0_0_19227030_24389\Main.java:70: 错误: 需要class, interface或enum
        for(LL i=1; i<=m; i++) scanf("%lld", &w[i]);
                    ^
0_0_19227030_24389\Main.java:70: 错误: 需要class, interface或enum
        for(LL i=1; i<=m; i++) scanf("%lld", &w[i]);
                          ^
0_0_19227030_24389\Main.java:72: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) Add(y[i], x[i], c[i]);
        ^
0_0_19227030_24389\Main.java:72: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) Add(y[i], x[i], c[i]);
                    ^
0_0_19227030_24389\Main.java:72: 错误: 需要class, interface或enum
        for(LL i=1; i<=n; i++) Add(y[i], x[i], c[i]);
                          ^
0_0_19227030_24389\Main.java:73: 错误: 需要class, interface或enum
        spfa();
        ^
0_0_19227030_24389\Main.java:74: 错误: 需要class, interface或enum
        printf("Case #%lld: %lld\n", ++f, ans);
        ^
0_0_19227030_24389\Main.java:75: 错误: 需要class, interface或enum
    }
    ^
0_0_19227030_24389\Main.java:77: 错误: 需要class, interface或enum
}
^
63 个错误


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