0_0_39840708_27656\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39840708_27656\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39840708_27656\Main.java:2: 错误: 非法字符: '#'
#include <vector>
^
0_0_39840708_27656\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39840708_27656\Main.java:6: 错误: 需要class, interface或enum
int main() {
^
0_0_39840708_27656\Main.java:8: 错误: 需要class, interface或enum
cin >> T;
^
0_0_39840708_27656\Main.java:10: 错误: 需要class, interface或enum
for (int t = 1; t <= T; t++) {
^
0_0_39840708_27656\Main.java:10: 错误: 需要class, interface或enum
for (int t = 1; t <= T; t++) {
^
0_0_39840708_27656\Main.java:10: 错误: 需要class, interface或enum
for (int t = 1; t <= T; t++) {
^
0_0_39840708_27656\Main.java:12: 错误: 需要class, interface或enum
cin >> N;
^
0_0_39840708_27656\Main.java:13: 错误: 需要class, interface或enum
vector<int> arr(N);
^
0_0_39840708_27656\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0; i < N; i++) {
^
0_0_39840708_27656\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0; i < N; i++) {
^
0_0_39840708_27656\Main.java:15: 错误: 需要class, interface或enum
for (int i = 0; i < N; i++) {
^
0_0_39840708_27656\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_39840708_27656\Main.java:21: 错误: 需要class, interface或enum
int currentSum = arr[0];
^
0_0_39840708_27656\Main.java:22: 错误: 需要class, interface或enum
int start = 0, end = 0, tempStart = 0;
^
0_0_39840708_27656\Main.java:25: 错误: 需要class, interface或enum
for (int i = 1; i < N; i++) {
^
0_0_39840708_27656\Main.java:25: 错误: 需要class, interface或enum
for (int i = 1; i < N; i++) {
^
0_0_39840708_27656\Main.java:25: 错误: 需要class, interface或enum
for (int i = 1; i < N; i++) {
^
0_0_39840708_27656\Main.java:28: 错误: 需要class, interface或enum
tempStart = i;
^
0_0_39840708_27656\Main.java:29: 错误: 需要class, interface或enum
} else {
^
0_0_39840708_27656\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_39840708_27656\Main.java:35: 错误: 需要class, interface或enum
start = tempStart;
^
0_0_39840708_27656\Main.java:36: 错误: 需要class, interface或enum
end = i;
^
0_0_39840708_27656\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_39840708_27656\Main.java:42: 错误: 需要class, interface或enum
cout << maxSum << " " << (start + 1) << " " << (end + 1) << endl;
^
0_0_39840708_27656\Main.java:45: 错误: 需要class, interface或enum
if (t < T) {
^
0_0_39840708_27656\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_39840708_27656\Main.java:51: 错误: 需要class, interface或enum
}
^
30 个错误
|