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_29368247_30502\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_29368247_30502\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_29368247_30502\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_29368247_30502\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_29368247_30502\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_29368247_30502\Main.java:5: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_29368247_30502\Main.java:6: 错误: 非法字符: '#'
#include<stack>
^
0_0_29368247_30502\Main.java:7: 错误: 非法字符: '#'
#include<set>
^
0_0_29368247_30502\Main.java:9: 错误: 需要class, interface或enum
const int N= 10003;
^
0_0_29368247_30502\Main.java:10: 错误: 需要class, interface或enum
const int M= 50002;
^
0_0_29368247_30502\Main.java:11: 错误: 需要class, interface或enum
struct  Node
^
0_0_29368247_30502\Main.java:14: 错误: 需要class, interface或enum
    int len;
    ^
0_0_29368247_30502\Main.java:15: 错误: 需要class, interface或enum
} edge[M];
^
0_0_29368247_30502\Main.java:16: 错误: 需要class, interface或enum
bool cmp(Node a,Node b)
^
0_0_29368247_30502\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_29368247_30502\Main.java:21: 错误: 需要class, interface或enum
int sum[N];
^
0_0_29368247_30502\Main.java:22: 错误: 需要class, interface或enum
int n,m,q;
^
0_0_29368247_30502\Main.java:23: 错误: 需要class, interface或enum
void init()
^
0_0_29368247_30502\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1; i<=n; i++)
                 ^
0_0_29368247_30502\Main.java:25: 错误: 需要class, interface或enum
    for(int i=1; i<=n; i++)
                       ^
0_0_29368247_30502\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_29368247_30502\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_29368247_30502\Main.java:35: 错误: 需要class, interface或enum
    int bb=findx(b);
    ^
0_0_29368247_30502\Main.java:36: 错误: 需要class, interface或enum
    if(aa==bb)
    ^
0_0_29368247_30502\Main.java:38: 错误: 需要class, interface或enum
    else if(fa[aa]<fa[bb])
    ^
0_0_29368247_30502\Main.java:41: 错误: 需要class, interface或enum
        int tmp=sum[aa]*sum[bb];
        ^
0_0_29368247_30502\Main.java:42: 错误: 需要class, interface或enum
        sum[aa]+=sum[bb];
        ^
0_0_29368247_30502\Main.java:43: 错误: 需要class, interface或enum
        return tmp;
        ^
0_0_29368247_30502\Main.java:44: 错误: 需要class, interface或enum
    }
    ^
0_0_29368247_30502\Main.java:48: 错误: 需要class, interface或enum
        int tmp=sum[aa]*sum[bb];
        ^
0_0_29368247_30502\Main.java:49: 错误: 需要class, interface或enum
        sum[bb]+=sum[aa];
        ^
0_0_29368247_30502\Main.java:50: 错误: 需要class, interface或enum
        return tmp;
        ^
0_0_29368247_30502\Main.java:51: 错误: 需要class, interface或enum
    }
    ^
0_0_29368247_30502\Main.java:55: 错误: 需要class, interface或enum
struct Q
^
0_0_29368247_30502\Main.java:58: 错误: 需要class, interface或enum
    int id;
    ^
0_0_29368247_30502\Main.java:59: 错误: 需要class, interface或enum
    int ans;
    ^
0_0_29368247_30502\Main.java:60: 错误: 需要class, interface或enum
} que[N];
^
0_0_29368247_30502\Main.java:61: 错误: 需要class, interface或enum
bool cmp1(Q a,Q b)
^
0_0_29368247_30502\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_29368247_30502\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_29368247_30502\Main.java:74: 错误: 需要class, interface或enum
        for(int i=0; i<m; i++)
        ^
0_0_29368247_30502\Main.java:74: 错误: 需要class, interface或enum
        for(int i=0; i<m; i++)
                     ^
0_0_29368247_30502\Main.java:74: 错误: 需要class, interface或enum
        for(int i=0; i<m; i++)
                          ^
0_0_29368247_30502\Main.java:76: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
        ^
0_0_29368247_30502\Main.java:76: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                     ^
0_0_29368247_30502\Main.java:76: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                          ^
0_0_29368247_30502\Main.java:77: 错误: 需要class, interface或enum
            {scanf("%d",&que[i].L);que[i].id=i;que[i].ans=0;}
                                   ^
0_0_29368247_30502\Main.java:77: 错误: 需要class, interface或enum
            {scanf("%d",&que[i].L);que[i].id=i;que[i].ans=0;}
                                               ^
0_0_29368247_30502\Main.java:77: 错误: 需要class, interface或enum
            {scanf("%d",&que[i].L);que[i].id=i;que[i].ans=0;}
                                                            ^
0_0_29368247_30502\Main.java:79: 错误: 需要class, interface或enum
        sort(que,que+q,cmp1);
        ^
0_0_29368247_30502\Main.java:80: 错误: 需要class, interface或enum
        int cnt=0;
        ^
0_0_29368247_30502\Main.java:81: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
        ^
0_0_29368247_30502\Main.java:81: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                     ^
0_0_29368247_30502\Main.java:81: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                          ^
0_0_29368247_30502\Main.java:87: 错误: 需要class, interface或enum
                int bb=findx(edge[cnt].v);
                ^
0_0_29368247_30502\Main.java:88: 错误: 需要class, interface或enum
                if(aa==bb)
                ^
0_0_29368247_30502\Main.java:91: 错误: 需要class, interface或enum
                    continue;
                    ^
0_0_29368247_30502\Main.java:92: 错误: 需要class, interface或enum
                }
                ^
0_0_29368247_30502\Main.java:96: 错误: 需要class, interface或enum
                    cnt++;
                    ^
0_0_29368247_30502\Main.java:97: 错误: 需要class, interface或enum
                }
                ^
0_0_29368247_30502\Main.java:101: 错误: 需要class, interface或enum
        }
        ^
0_0_29368247_30502\Main.java:103: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
        ^
0_0_29368247_30502\Main.java:103: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                     ^
0_0_29368247_30502\Main.java:103: 错误: 需要class, interface或enum
        for(int i=0; i<q; i++)
                          ^
0_0_29368247_30502\Main.java:106: 错误: 需要class, interface或enum
        }
        ^
0_0_29368247_30502\Main.java:109: 错误: 需要class, interface或enum
}
^
66 个错误


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-30 06:15:18, Gzip enabled