0_0_38998055_15082\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_38998055_15082\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_38998055_15082\Main.java:2: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_38998055_15082\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_38998055_15082\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_38998055_15082\Main.java:7: 错误: 需要class, interface或enum
const int MAX_N = 8, MAX_S = 1 << MAX_N;
^
0_0_38998055_15082\Main.java:8: 错误: 需要class, interface或enum
int n, m, t, dp[MAX_S][MAX_S];
^
0_0_38998055_15082\Main.java:9: 错误: 需要class, interface或enum
char g[MAX_N][MAX_N + 1];
^
0_0_38998055_15082\Main.java:11: 错误: 需要class, interface或enum
int main() {
^
0_0_38998055_15082\Main.java:14: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:14: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:14: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:16: 错误: 需要class, interface或enum
for (int j = 0; j < n; j ++) g[i][j] -= '0';
^
0_0_38998055_15082\Main.java:16: 错误: 需要class, interface或enum
for (int j = 0; j < n; j ++) g[i][j] -= '0';
^
0_0_38998055_15082\Main.java:16: 错误: 需要class, interface或enum
for (int j = 0; j < n; j ++) g[i][j] -= '0';
^
0_0_38998055_15082\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_38998055_15082\Main.java:20: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:20: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:20: 错误: 需要class, interface或enum
for (int i = 0; i < n; i ++) {
^
0_0_38998055_15082\Main.java:22: 错误: 需要class, interface或enum
dp[1 << i][1 << i] = 1;
^
0_0_38998055_15082\Main.java:24: 错误: 需要class, interface或enum
for (int mask = 0; mask < upper; mask ++)
^
0_0_38998055_15082\Main.java:24: 错误: 需要class, interface或enum
for (int mask = 0; mask < upper; mask ++)
^
0_0_38998055_15082\Main.java:24: 错误: 需要class, interface或enum
for (int mask = 0; mask < upper; mask ++)
^
0_0_38998055_15082\Main.java:25: 错误: 需要class, interface或enum
for (int s = mask; s; s = (s - 1) & mask)
^
0_0_38998055_15082\Main.java:25: 错误: 需要class, interface或enum
for (int s = mask; s; s = (s - 1) & mask)
^
0_0_38998055_15082\Main.java:26: 错误: 需要class, interface或enum
for (int u = 0; u < n; u ++) if (mask & (1 << u))
^
0_0_38998055_15082\Main.java:26: 错误: 需要class, interface或enum
for (int u = 0; u < n; u ++) if (mask & (1 << u))
^
0_0_38998055_15082\Main.java:27: 错误: 需要class, interface或enum
for (int v = 0; v < n; v ++) if ((mask & (1 << v)) == 0 && g[u][v]) {
^
0_0_38998055_15082\Main.java:27: 错误: 需要class, interface或enum
for (int v = 0; v < n; v ++) if ((mask & (1 << v)) == 0 && g[u][v]) {
^
0_0_38998055_15082\Main.java:29: 错误: 需要class, interface或enum
int m2 = (s | (1 << v)) & (~(1 << u));
^
0_0_38998055_15082\Main.java:30: 错误: 需要class, interface或enum
if (((1 << (v + 1)) - 1) >= m2) dp[m1][m2] += dp[mask][s];
^
0_0_38998055_15082\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_38998055_15082\Main.java:33: 错误: 需要class, interface或enum
for (int s = 0; s < upper; s ++) ans += dp[upper - 1][s];
^
0_0_38998055_15082\Main.java:33: 错误: 需要class, interface或enum
for (int s = 0; s < upper; s ++) ans += dp[upper - 1][s];
^
0_0_38998055_15082\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_38998055_15082\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_38998055_15082\Main.java:39: 错误: 需要class, interface或enum
}
^
37 个错误
|