0_0_34640394_12843\Main.java:1: 错误: 非法字符: '#'
# include <iostream>
^
0_0_34640394_12843\Main.java:1: 错误: 需要class, interface或enum
# include <iostream>
^
0_0_34640394_12843\Main.java:5: 错误: 需要class, interface或enum
bool isPrime(int n)
^
0_0_34640394_12843\Main.java:9: 错误: 需要class, interface或enum
for ( i = 2; i <= n / 2; i++)
^
0_0_34640394_12843\Main.java:9: 错误: 需要class, interface或enum
for ( i = 2; i <= n / 2; i++)
^
0_0_34640394_12843\Main.java:9: 错误: 需要class, interface或enum
for ( i = 2; i <= n / 2; i++)
^
0_0_34640394_12843\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:18: 错误: 需要class, interface或enum
else
^
0_0_34640394_12843\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:29: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++)
^
0_0_34640394_12843\Main.java:29: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++)
^
0_0_34640394_12843\Main.java:29: 错误: 需要class, interface或enum
for (int i = 1; i <= n; i++)
^
0_0_34640394_12843\Main.java:32: 错误: 需要class, interface或enum
if (i == n)
^
0_0_34640394_12843\Main.java:34: 错误: 需要class, interface或enum
else
^
0_0_34640394_12843\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:38: 错误: 需要class, interface或enum
for (int i = 2; i <= n; i++)
^
0_0_34640394_12843\Main.java:38: 错误: 需要class, interface或enum
for (int i = 2; i <= n; i++)
^
0_0_34640394_12843\Main.java:43: 错误: 需要class, interface或enum
a[step] = i;
^
0_0_34640394_12843\Main.java:45: 错误: 需要class, interface或enum
dfs(step + 1);
^
0_0_34640394_12843\Main.java:46: 错误: 需要class, interface或enum
b[i] = 0;
^
0_0_34640394_12843\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:56: 错误: 需要class, interface或enum
while (std::cin >> n&&++i)
^
0_0_34640394_12843\Main.java:58: 错误: 需要class, interface或enum
for (int i = 2; i<=n;i++)
^
0_0_34640394_12843\Main.java:58: 错误: 需要class, interface或enum
for (int i = 2; i<=n;i++)
^
0_0_34640394_12843\Main.java:61: 错误: 需要class, interface或enum
a[i] = 0;
^
0_0_34640394_12843\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_34640394_12843\Main.java:64: 错误: 需要class, interface或enum
b[1] = 1;
^
0_0_34640394_12843\Main.java:65: 错误: 需要class, interface或enum
std::cout << "Case " << i << ":" << std::endl;
^
0_0_34640394_12843\Main.java:66: 错误: 需要class, interface或enum
dfs(2);
^
0_0_34640394_12843\Main.java:67: 错误: 需要class, interface或enum
std::cout << std::endl;
^
0_0_34640394_12843\Main.java:68: 错误: 需要class, interface或enum
}
^
32 个错误
|