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_39750629_16103\Main.java:1: 错误: 需要class, interface或enum
 1 //#pragma comment(linker,"\STACK:1024000000,1024000000");
 ^
0_0_39750629_16103\Main.java:2: 错误: 非法字符: '#'
 2 #include<cstdio>
   ^
0_0_39750629_16103\Main.java:3: 错误: 非法字符: '#'
 3 #include<cstring>
   ^
0_0_39750629_16103\Main.java:4: 错误: 非法字符: '#'
 4 #include<cstdlib>
   ^
0_0_39750629_16103\Main.java:5: 错误: 非法字符: '#'
 5 #include<vector>
   ^
0_0_39750629_16103\Main.java:7: 错误: 需要class, interface或enum
 7 const int maxn=100005;
 ^
0_0_39750629_16103\Main.java:8: 错误: 需要class, interface或enum
 8 vector<int>arr[maxn];
 ^
0_0_39750629_16103\Main.java:9: 错误: 需要class, interface或enum
 9 int ans[maxn];
 ^
0_0_39750629_16103\Main.java:10: 错误: 需要class, interface或enum
10 int n,m,i;
^
0_0_39750629_16103\Main.java:11: 错误: 需要class, interface或enum
11 int main(){
^
0_0_39750629_16103\Main.java:13: 错误: 需要class, interface或enum
13   scanf("%d",&cas);
^
0_0_39750629_16103\Main.java:14: 错误: 需要class, interface或enum
14   while(cas--){
^
0_0_39750629_16103\Main.java:16: 错误: 需要class, interface或enum
16     memset(ans,0,sizeof(int)*(n+1));
^
0_0_39750629_16103\Main.java:17: 错误: 需要class, interface或enum
17     for(i=0;i<m;i++){
^
0_0_39750629_16103\Main.java:17: 错误: 需要class, interface或enum
17     for(i=0;i<m;i++){
               ^
0_0_39750629_16103\Main.java:17: 错误: 需要class, interface或enum
17     for(i=0;i<m;i++){
                   ^
0_0_39750629_16103\Main.java:19: 错误: 需要class, interface或enum
19      arr[b].push_back(a);
^
0_0_39750629_16103\Main.java:20: 错误: 需要class, interface或enum
20      arr[a].push_back(b);
^
0_0_39750629_16103\Main.java:21: 错误: 需要class, interface或enum
21     }
^
0_0_39750629_16103\Main.java:23: 错误: 需要class, interface或enum
23    while(q--){
^
0_0_39750629_16103\Main.java:25: 错误: 需要class, interface或enum
25     if(cmd==1){
^
0_0_39750629_16103\Main.java:27: 错误: 需要class, interface或enum
27        printf("%d\n",ans[u]);
^
0_0_39750629_16103\Main.java:28: 错误: 需要class, interface或enum
28     }
^
0_0_39750629_16103\Main.java:31: 错误: 需要class, interface或enum
31       int len=arr[u].size();
^
0_0_39750629_16103\Main.java:32: 错误: 需要class, interface或enum
32       for(i=0;i<len;i++)
^
0_0_39750629_16103\Main.java:32: 错误: 需要class, interface或enum
32       for(i=0;i<len;i++)
                 ^
0_0_39750629_16103\Main.java:32: 错误: 需要class, interface或enum
32       for(i=0;i<len;i++)
                       ^
0_0_39750629_16103\Main.java:34: 错误: 需要class, interface或enum
34     }
^
0_0_39750629_16103\Main.java:39: 错误: 需要class, interface或enum
39 }
^
29 个错误


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-26 03:07:16, Gzip enabled