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_39374784_24642\Main.java:1: 错误: 需要class, interface或enum
 1     #include <iostream>  
 ^
0_0_39374784_24642\Main.java:1: 错误: 非法字符: '#'
 1     #include <iostream>  
       ^
0_0_39374784_24642\Main.java:3: 错误: 需要class, interface或enum
 3     int main()  
 ^
0_0_39374784_24642\Main.java:6: 错误: 需要class, interface或enum
 6         int a[100002];  
 ^
0_0_39374784_24642\Main.java:7: 错误: 需要class, interface或enum
 7         scanf("%d",&t);  
 ^
0_0_39374784_24642\Main.java:8: 错误: 需要class, interface或enum
 8         for (j=1;j<=t;j++)  
 ^
0_0_39374784_24642\Main.java:8: 错误: 需要class, interface或enum
 8         for (j=1;j<=t;j++)  
                    ^
0_0_39374784_24642\Main.java:8: 错误: 需要class, interface或enum
 8         for (j=1;j<=t;j++)  
                         ^
0_0_39374784_24642\Main.java:11: 错误: 需要class, interface或enum
11             for (i=0;i<n;i++)  
^
0_0_39374784_24642\Main.java:11: 错误: 需要class, interface或enum
11             for (i=0;i<n;i++)  
                        ^
0_0_39374784_24642\Main.java:11: 错误: 需要class, interface或enum
11             for (i=0;i<n;i++)  
                            ^
0_0_39374784_24642\Main.java:14: 错误: 需要class, interface或enum
14             }  
^
0_0_39374784_24642\Main.java:16: 错误: 需要class, interface或enum
16             for (i=0;i<n;i++)  
^
0_0_39374784_24642\Main.java:16: 错误: 需要class, interface或enum
16             for (i=0;i<n;i++)  
                        ^
0_0_39374784_24642\Main.java:16: 错误: 需要class, interface或enum
16             for (i=0;i<n;i++)  
                            ^
0_0_39374784_24642\Main.java:19: 错误: 需要class, interface或enum
19                 if (sum > maxsum)  
^
0_0_39374784_24642\Main.java:21: 错误: 需要class, interface或enum
21                     maxsum = sum;first = temp;last = i+1;  
                                    ^
0_0_39374784_24642\Main.java:21: 错误: 需要class, interface或enum
21                     maxsum = sum;first = temp;last = i+1;  
                                                 ^
0_0_39374784_24642\Main.java:22: 错误: 需要class, interface或enum
22                 }  
^
0_0_39374784_24642\Main.java:25: 错误: 需要class, interface或enum
25                     sum = 0;temp = i+2;  
                               ^
0_0_39374784_24642\Main.java:26: 错误: 需要class, interface或enum
26                 }  
^
0_0_39374784_24642\Main.java:30: 错误: 需要class, interface或enum
30             if (j!=t)  
^
0_0_39374784_24642\Main.java:33: 错误: 需要class, interface或enum
33             }  
^
0_0_39374784_24642\Main.java:37: 错误: 需要class, interface或enum
37     }  
^
24 个错误


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-24 19:57:44, Gzip enabled