0_0_39374010_16398\Main.java:1: 错误: 需要class, interface或enum
1 #include <iostream>
^
0_0_39374010_16398\Main.java:1: 错误: 非法字符: '#'
1 #include <iostream>
^
0_0_39374010_16398\Main.java:3: 错误: 需要class, interface或enum
3 int main()
^
0_0_39374010_16398\Main.java:6: 错误: 需要class, interface或enum
6 int a; //不需要数组,只需要一个输入变量
^
0_0_39374010_16398\Main.java:7: 错误: 需要class, interface或enum
7 scanf("%d",&t);
^
0_0_39374010_16398\Main.java:8: 错误: 需要class, interface或enum
8 for (j=1;j<=t;j++)
^
0_0_39374010_16398\Main.java:8: 错误: 需要class, interface或enum
8 for (j=1;j<=t;j++)
^
0_0_39374010_16398\Main.java:8: 错误: 需要class, interface或enum
8 for (j=1;j<=t;j++)
^
0_0_39374010_16398\Main.java:11: 错误: 需要class, interface或enum
11 int sum=0,maxsum=-1001,first =0, last = 0, temp = 1;
^
0_0_39374010_16398\Main.java:12: 错误: 需要class, interface或enum
12 for (i=0;i<n;i++)
^
0_0_39374010_16398\Main.java:12: 错误: 需要class, interface或enum
12 for (i=0;i<n;i++)
^
0_0_39374010_16398\Main.java:12: 错误: 需要class, interface或enum
12 for (i=0;i<n;i++)
^
0_0_39374010_16398\Main.java:15: 错误: 需要class, interface或enum
15 sum += a;
^
0_0_39374010_16398\Main.java:16: 错误: 需要class, interface或enum
16 if (sum > maxsum)
^
0_0_39374010_16398\Main.java:18: 错误: 需要class, interface或enum
18 maxsum = sum;first = temp;last = i+1;
^
0_0_39374010_16398\Main.java:18: 错误: 需要class, interface或enum
18 maxsum = sum;first = temp;last = i+1;
^
0_0_39374010_16398\Main.java:19: 错误: 需要class, interface或enum
19 }
^
0_0_39374010_16398\Main.java:22: 错误: 需要class, interface或enum
22 sum = 0;temp = i+2;
^
0_0_39374010_16398\Main.java:23: 错误: 需要class, interface或enum
23 }
^
0_0_39374010_16398\Main.java:27: 错误: 需要class, interface或enum
27 if (j!=t)
^
0_0_39374010_16398\Main.java:30: 错误: 需要class, interface或enum
30 }
^
0_0_39374010_16398\Main.java:34: 错误: 需要class, interface或enum
34 }
^
22 个错误
|