Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_714_1342_24515\Main.java:1: 错误: 非法字符: '#'
#include<cstring>
^
1_714_1342_24515\Main.java:1: 错误: 需要class, interface或enum
#include<cstring>
        ^
1_714_1342_24515\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
1_714_1342_24515\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
1_714_1342_24515\Main.java:4: 错误: 非法字符: '#'
#include<algorithm>
^
1_714_1342_24515\Main.java:6: 错误: 需要class, interface或enum
struct node
^
1_714_1342_24515\Main.java:9: 错误: 需要class, interface或enum
  int a;
  ^
1_714_1342_24515\Main.java:10: 错误: 需要class, interface或enum
  int num;
  ^
1_714_1342_24515\Main.java:11: 错误: 需要class, interface或enum
}s[105];
^
1_714_1342_24515\Main.java:12: 错误: 需要class, interface或enum
int n,t;
^
1_714_1342_24515\Main.java:13: 错误: 需要class, interface或enum
char q[1005];
^
1_714_1342_24515\Main.java:14: 错误: 需要class, interface或enum
bool cmp(node aa,node bb)
^
1_714_1342_24515\Main.java:17: 错误: 需要class, interface或enum
}
^
1_714_1342_24515\Main.java:21: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
 ^
1_714_1342_24515\Main.java:21: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
             ^
1_714_1342_24515\Main.java:21: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
                  ^
1_714_1342_24515\Main.java:23: 错误: 需要class, interface或enum
      q[0]='1';
      ^
1_714_1342_24515\Main.java:24: 错误: 需要class, interface或enum
 while(q[x-1]!=' '){scanf("%c",&q[x]);x++;q[x]=1;}
 ^
1_714_1342_24515\Main.java:24: 错误: 需要class, interface或enum
 while(q[x-1]!=' '){scanf("%c",&q[x]);x++;q[x]=1;}
                                      ^
1_714_1342_24515\Main.java:24: 错误: 需要class, interface或enum
 while(q[x-1]!=' '){scanf("%c",&q[x]);x++;q[x]=1;}
                                          ^
1_714_1342_24515\Main.java:24: 错误: 需要class, interface或enum
 while(q[x-1]!=' '){scanf("%c",&q[x]);x++;q[x]=1;}
                                                 ^
1_714_1342_24515\Main.java:25: 错误: 需要class, interface或enum
 for(int j=2;j<=x-2;j++)s[i].ss[j-1]=q[j];
             ^
1_714_1342_24515\Main.java:25: 错误: 需要class, interface或enum
 for(int j=2;j<=x-2;j++)s[i].ss[j-1]=q[j];
                    ^
1_714_1342_24515\Main.java:26: 错误: 需要class, interface或enum
 s[i].num=x-2-1;
 ^
1_714_1342_24515\Main.java:27: 错误: 需要class, interface或enum
 scanf("%d",&s[i].a);
 ^
1_714_1342_24515\Main.java:28: 错误: 需要class, interface或enum
 }
 ^
1_714_1342_24515\Main.java:30: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
 ^
1_714_1342_24515\Main.java:30: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
             ^
1_714_1342_24515\Main.java:30: 错误: 需要class, interface或enum
 for(int i=1;i<=n;i++){
                  ^
1_714_1342_24515\Main.java:31: 错误: 需要class, interface或enum
 for(int j=1;j<=s[i].num;j++)printf("%c",s[i].ss[j]);
             ^
1_714_1342_24515\Main.java:31: 错误: 需要class, interface或enum
 for(int j=1;j<=s[i].num;j++)printf("%c",s[i].ss[j]);
                         ^
1_714_1342_24515\Main.java:32: 错误: 需要class, interface或enum
 if(i!=n)printf(" ");
 ^
1_714_1342_24515\Main.java:33: 错误: 需要class, interface或enum
 if(i==n)printf("\n");}
 ^
1_714_1342_24515\Main.java:33: 错误: 需要class, interface或enum
 if(i==n)printf("\n");}
                      ^
1_714_1342_24515\Main.java:38: 错误: 需要class, interface或enum
    while(t--)slove();
    ^
1_714_1342_24515\Main.java:39: 错误: 需要class, interface或enum
}
^
36 个错误


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-18 10:55:23, Gzip enabled