0_0_39356494_10749\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_39356494_10749\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_39356494_10749\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_39356494_10749\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_39356494_10749\Main.java:4: 错误: 非法字符: '#'
#include<cmath>
^
0_0_39356494_10749\Main.java:6: 错误: 需要class, interface或enum
const int lmax = 10050;
^
0_0_39356494_10749\Main.java:7: 错误: 需要class, interface或enum
int c1[lmax + 1], c2[lmax + 1];
^
0_0_39356494_10749\Main.java:8: 错误: 需要class, interface或enum
int main()
^
0_0_39356494_10749\Main.java:11: 错误: 需要class, interface或enum
while (cin >> n)
^
0_0_39356494_10749\Main.java:14: 错误: 需要class, interface或enum
memset(c2, 0, sizeof(c2));
^
0_0_39356494_10749\Main.java:15: 错误: 需要class, interface或enum
memset(c1, 0, sizeof(c1));
^
0_0_39356494_10749\Main.java:16: 错误: 需要class, interface或enum
int maxd = 0;
^
0_0_39356494_10749\Main.java:17: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_39356494_10749\Main.java:17: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_39356494_10749\Main.java:17: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++)
^
0_0_39356494_10749\Main.java:20: 错误: 需要class, interface或enum
maxd += a[i];
^
0_0_39356494_10749\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_39356494_10749\Main.java:23: 错误: 需要class, interface或enum
for (int i = 1; i < n; i++)
^
0_0_39356494_10749\Main.java:23: 错误: 需要class, interface或enum
for (int i = 1; i < n; i++)
^
0_0_39356494_10749\Main.java:23: 错误: 需要class, interface或enum
for (int i = 1; i < n; i++)
^
0_0_39356494_10749\Main.java:25: 错误: 需要class, interface或enum
for (int j = 0; j <= maxd; j++)
^
0_0_39356494_10749\Main.java:25: 错误: 需要class, interface或enum
for (int j = 0; j <= maxd; j++)
^
0_0_39356494_10749\Main.java:26: 错误: 需要class, interface或enum
for (int k = 0; k <= a[i]; k += a[i])
^
0_0_39356494_10749\Main.java:26: 错误: 需要class, interface或enum
for (int k = 0; k <= a[i]; k += a[i])
^
0_0_39356494_10749\Main.java:29: 错误: 需要class, interface或enum
c2[abs(j - k)] += c1[j];
^
0_0_39356494_10749\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_39356494_10749\Main.java:31: 错误: 需要class, interface或enum
for (int i = 0; i <= maxd; i++)
^
0_0_39356494_10749\Main.java:31: 错误: 需要class, interface或enum
for (int i = 0; i <= maxd; i++)
^
0_0_39356494_10749\Main.java:34: 错误: 需要class, interface或enum
c2[i] = 0;
^
0_0_39356494_10749\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_39356494_10749\Main.java:38: 错误: 需要class, interface或enum
for (int i = 1; i <= maxd; i++)
^
0_0_39356494_10749\Main.java:38: 错误: 需要class, interface或enum
for (int i = 1; i <= maxd; i++)
^
0_0_39356494_10749\Main.java:38: 错误: 需要class, interface或enum
for (int i = 1; i <= maxd; i++)
^
0_0_39356494_10749\Main.java:41: 错误: 需要class, interface或enum
cout << cnt << endl;
^
0_0_39356494_10749\Main.java:42: 错误: 需要class, interface或enum
if (cnt)
^
0_0_39356494_10749\Main.java:44: 错误: 需要class, interface或enum
for (int i = 1; i < cnt; i++)
^
0_0_39356494_10749\Main.java:44: 错误: 需要class, interface或enum
for (int i = 1; i < cnt; i++)
^
0_0_39356494_10749\Main.java:46: 错误: 需要class, interface或enum
cout << res[cnt] << endl;
^
0_0_39356494_10749\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_39356494_10749\Main.java:50: 错误: 需要class, interface或enum
}
^
40 个错误
|