0_0_35222618_6206\Main.java:6: 错误: 非法字符: '#'
#include <iostream>
^
0_0_35222618_6206\Main.java:6: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_35222618_6206\Main.java:7: 错误: 非法字符: '#'
#include <cstring>
^
0_0_35222618_6206\Main.java:10: 错误: 需要class, interface或enum
const int N = 4e4;
^
0_0_35222618_6206\Main.java:11: 错误: 需要class, interface或enum
int ans[N];
^
0_0_35222618_6206\Main.java:12: 错误: 需要class, interface或enum
const int THRESHOLD = 10000; // 每一个单元存储范围: 0~9999
^
0_0_35222618_6206\Main.java:14: 错误: 需要class, interface或enum
int main()
^
0_0_35222618_6206\Main.java:17: 错误: 需要class, interface或enum
while (cin >> n) {
^
0_0_35222618_6206\Main.java:19: 错误: 需要class, interface或enum
int head = N;
^
0_0_35222618_6206\Main.java:20: 错误: 需要class, interface或enum
ans[--head] = 1;
^
0_0_35222618_6206\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_35222618_6206\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_35222618_6206\Main.java:21: 错误: 需要class, interface或enum
for (int i = 1; i <= n; ++i) {
^
0_0_35222618_6206\Main.java:23: 错误: 需要class, interface或enum
for (int j = N-1; j >= head; --j) {
^
0_0_35222618_6206\Main.java:23: 错误: 需要class, interface或enum
for (int j = N-1; j >= head; --j) {
^
0_0_35222618_6206\Main.java:23: 错误: 需要class, interface或enum
for (int j = N-1; j >= head; --j) {
^
0_0_35222618_6206\Main.java:24: 错误: 需要class, interface或enum
ans[j] *= i; ans[j] += carry;
^
0_0_35222618_6206\Main.java:25: 错误: 需要class, interface或enum
carry = ans[j] / THRESHOLD;
^
0_0_35222618_6206\Main.java:26: 错误: 需要class, interface或enum
ans[j] %= THRESHOLD;
^
0_0_35222618_6206\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_35222618_6206\Main.java:30: 错误: 需要class, interface或enum
carry /= THRESHOLD;
^
0_0_35222618_6206\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_35222618_6206\Main.java:33: 错误: 需要class, interface或enum
for (int i = head; i < N; ++i) cout << ans[i];
^
0_0_35222618_6206\Main.java:33: 错误: 需要class, interface或enum
for (int i = head; i < N; ++i) cout << ans[i];
^
0_0_35222618_6206\Main.java:34: 错误: 需要class, interface或enum
cout << endl;
^
0_0_35222618_6206\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_35222618_6206\Main.java:37: 错误: 需要class, interface或enum
}
^
27 个错误
|