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_29437858_11381\Main.java:1: 错误: 非法字符: '#'
 #include<cstdio>
 ^
0_0_29437858_11381\Main.java:1: 错误: 需要class, interface或enum
 #include<cstdio>
         ^
0_0_29437858_11381\Main.java:2: 错误: 非法字符: '#'
 2 #include<string.h>
   ^
0_0_29437858_11381\Main.java:4: 错误: 需要class, interface或enum
 4 int ans[1000][510];
 ^
0_0_29437858_11381\Main.java:5: 错误: 需要class, interface或enum
 5 int main()
 ^
0_0_29437858_11381\Main.java:9: 错误: 需要class, interface或enum
 9     while(scanf("%d",&n)!=EOF)
 ^
0_0_29437858_11381\Main.java:14: 错误: 需要class, interface或enum
14 ans[500]=1;
^
0_0_29437858_11381\Main.java:15: 错误: 需要class, interface或enum
15         while(n--)
^
0_0_29437858_11381\Main.java:18: 错误: 需要class, interface或enum
18             int s=0;
^
0_0_29437858_11381\Main.java:19: 错误: 需要class, interface或enum
19 
^
0_0_29437858_11381\Main.java:20: 错误: 需要class, interface或enum
20             for(i=500;i>=0;i--)
                         ^
0_0_29437858_11381\Main.java:20: 错误: 需要class, interface或enum
20             for(i=500;i>=0;i--)
                              ^
0_0_29437858_11381\Main.java:24: 错误: 需要class, interface或enum
24                  else s=ans[i]*2+c;
^
0_0_29437858_11381\Main.java:25: 错误: 需要class, interface或enum
25                 ans[i]=s%10;
^
0_0_29437858_11381\Main.java:26: 错误: 需要class, interface或enum
26                 c=s/10;
^
0_0_29437858_11381\Main.java:27: 错误: 需要class, interface或enum
27 
^
0_0_29437858_11381\Main.java:30: 错误: 需要class, interface或enum
30         for(i=0;i<=500;i++) if(ans[i]!=0) break;
                   ^
0_0_29437858_11381\Main.java:30: 错误: 需要class, interface或enum
30         for(i=0;i<=500;i++) if(ans[i]!=0) break;
                          ^
0_0_29437858_11381\Main.java:31: 错误: 需要class, interface或enum
31         j=i;
^
0_0_29437858_11381\Main.java:32: 错误: 需要class, interface或enum
32         for(j=i;j<=500;j++) printf("%d",ans[j]);
^
0_0_29437858_11381\Main.java:32: 错误: 需要class, interface或enum
32         for(j=i;j<=500;j++) printf("%d",ans[j]);
                   ^
0_0_29437858_11381\Main.java:32: 错误: 需要class, interface或enum
32         for(j=i;j<=500;j++) printf("%d",ans[j]);
                          ^
0_0_29437858_11381\Main.java:33: 错误: 需要class, interface或enum
33         printf("\n");
^
0_0_29437858_11381\Main.java:34: 错误: 需要class, interface或enum
34     }
^
0_0_29437858_11381\Main.java:36: 错误: 需要class, interface或enum
36 }
^
25 个错误


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-22 22:03:09, Gzip enabled