0_0_27833134_23178\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_27833134_23178\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_27833134_23178\Main.java:3: 错误: 需要class, interface或enum
int main()
^
0_0_27833134_23178\Main.java:6: 错误: 需要class, interface或enum
int n, m;
^
0_0_27833134_23178\Main.java:7: 错误: 需要class, interface或enum
int s = 0;
^
0_0_27833134_23178\Main.java:8: 错误: 需要class, interface或enum
int temp = 0;
^
0_0_27833134_23178\Main.java:9: 错误: 需要class, interface或enum
int start, end;
^
0_0_27833134_23178\Main.java:10: 错误: 需要class, interface或enum
int max = -1001;
^
0_0_27833134_23178\Main.java:11: 错误: 需要class, interface或enum
int sum = 0;
^
0_0_27833134_23178\Main.java:12: 错误: 需要class, interface或enum
int q = 1;
^
0_0_27833134_23178\Main.java:13: 错误: 需要class, interface或enum
cin >> n;
^
0_0_27833134_23178\Main.java:14: 错误: 需要class, interface或enum
while (n--)
^
0_0_27833134_23178\Main.java:17: 错误: 需要class, interface或enum
temp = 0;
^
0_0_27833134_23178\Main.java:18: 错误: 需要class, interface或enum
max = -1001;
^
0_0_27833134_23178\Main.java:19: 错误: 需要class, interface或enum
s = 0;
^
0_0_27833134_23178\Main.java:20: 错误: 需要class, interface或enum
cin >> m;
^
0_0_27833134_23178\Main.java:21: 错误: 需要class, interface或enum
while (m--)
^
0_0_27833134_23178\Main.java:24: 错误: 需要class, interface或enum
sum += j;
^
0_0_27833134_23178\Main.java:25: 错误: 需要class, interface或enum
if (sum>max)
^
0_0_27833134_23178\Main.java:28: 错误: 需要class, interface或enum
start = s;
^
0_0_27833134_23178\Main.java:29: 错误: 需要class, interface或enum
end = s + temp;
^
0_0_27833134_23178\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_27833134_23178\Main.java:32: 错误: 需要class, interface或enum
if (sum<0)
^
0_0_27833134_23178\Main.java:35: 错误: 需要class, interface或enum
s = s + temp;
^
0_0_27833134_23178\Main.java:36: 错误: 需要class, interface或enum
temp = 0;
^
0_0_27833134_23178\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_27833134_23178\Main.java:41: 错误: 需要class, interface或enum
cout << "Case " << q++ << ":" << endl;
^
0_0_27833134_23178\Main.java:42: 错误: 需要class, interface或enum
cout << max << ' ' << start + 1 << ' ' << end + 1 << endl;;
^
0_0_27833134_23178\Main.java:43: 错误: 需要class, interface或enum
}
^
29 个错误
|