0_0_33881228_4605\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33881228_4605\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_33881228_4605\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33881228_4605\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33881228_4605\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_33881228_4605\Main.java:5: 错误: 非法字符: '#'
#pragma warning(disable:4996)
^
0_0_33881228_4605\Main.java:9: 错误: 需要class, interface或enum
const int MAX_N = (200 + 22);
^
0_0_33881228_4605\Main.java:10: 错误: 需要class, interface或enum
int N, M;
^
0_0_33881228_4605\Main.java:12: 错误: 需要class, interface或enum
struct Node {
^
0_0_33881228_4605\Main.java:14: 错误: 需要class, interface或enum
Node() {}
^
0_0_33881228_4605\Main.java:18: 错误: 需要class, interface或enum
int n;
^
0_0_33881228_4605\Main.java:19: 错误: 需要class, interface或enum
char g[MAX_N][MAX_N];
^
0_0_33881228_4605\Main.java:27: 错误: 需要class, interface或enum
bool Judge(int x, int y)
^
0_0_33881228_4605\Main.java:30: 错误: 需要class, interface或enum
if (g[x][y] == '.') return true;
^
0_0_33881228_4605\Main.java:31: 错误: 需要class, interface或enum
return false;
^
0_0_33881228_4605\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:36: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) {
^
0_0_33881228_4605\Main.java:36: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) {
^
0_0_33881228_4605\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:43: 错误: 需要class, interface或enum
bool gao(int s, int kind)
^
0_0_33881228_4605\Main.java:45: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) if ((1 << i) & s) {
^
0_0_33881228_4605\Main.java:45: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) if ((1 << i) & s) {
^
0_0_33881228_4605\Main.java:47: 错误: 需要class, interface或enum
vis[i] = true;
^
0_0_33881228_4605\Main.java:48: 错误: 需要class, interface或enum
int x = node[i].x, y = node[i].y;
^
0_0_33881228_4605\Main.java:49: 错误: 需要class, interface或enum
if (kind == 0) {
^
0_0_33881228_4605\Main.java:51: 错误: 需要class, interface或enum
if (x - 1 >= 0)vis[find(x - 1, y)] = true;
^
0_0_33881228_4605\Main.java:52: 错误: 需要class, interface或enum
if (y + 1 < M) vis[find(x, y + 1)] = true;
^
0_0_33881228_4605\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:56: 错误: 需要class, interface或enum
if (y + 1 < M) vis[find(x, y + 1)] = true;
^
0_0_33881228_4605\Main.java:57: 错误: 需要class, interface或enum
if (x + 1 < N) vis[find(x + 1, y)] = true;
^
0_0_33881228_4605\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:61: 错误: 需要class, interface或enum
if (x + 1 < N) vis[find(x + 1, y)] = true;
^
0_0_33881228_4605\Main.java:62: 错误: 需要class, interface或enum
if (y - 1 >= 0) vis[find(x, y - 1)] = true;
^
0_0_33881228_4605\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:66: 错误: 需要class, interface或enum
if (y - 1 >= 0) vis[find(x, y - 1)] = true;
^
0_0_33881228_4605\Main.java:67: 错误: 需要class, interface或enum
if (x - 1 >= 0) vis[find(x - 1, y)] = true;
^
0_0_33881228_4605\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:70: 错误: 需要class, interface或enum
for (int j = 0; j < n; ++j) {
^
0_0_33881228_4605\Main.java:70: 错误: 需要class, interface或enum
for (int j = 0; j < n; ++j) {
^
0_0_33881228_4605\Main.java:73: 错误: 需要class, interface或enum
vis[j] = true;
^
0_0_33881228_4605\Main.java:74: 错误: 需要class, interface或enum
if (!Judge(x - 1, y) || !Judge(x, y + 1)) break;
^
0_0_33881228_4605\Main.java:75: 错误: 需要class, interface或enum
if (x - 1 >= 0)vis[find(x - 1, y)] = true;
^
0_0_33881228_4605\Main.java:76: 错误: 需要class, interface或enum
if (y + 1 < M) vis[find(x, y + 1)] = true;
^
0_0_33881228_4605\Main.java:77: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:81: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) if (!vis[i]) {
^
0_0_33881228_4605\Main.java:81: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) if (!vis[i]) {
^
0_0_33881228_4605\Main.java:81: 错误: 需要class, interface或enum
for (int i = 0; i < n; ++i) if (!vis[i]) {
^
0_0_33881228_4605\Main.java:82: 错误: 需要class, interface或enum
tag = false; break;
^
0_0_33881228_4605\Main.java:83: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:86: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:96: 错误: 需要class, interface或enum
n = 0;
^
0_0_33881228_4605\Main.java:97: 错误: 需要class, interface或enum
for (int i = 0; i < N; ++i) {
^
0_0_33881228_4605\Main.java:97: 错误: 需要class, interface或enum
for (int i = 0; i < N; ++i) {
^
0_0_33881228_4605\Main.java:97: 错误: 需要class, interface或enum
for (int i = 0; i < N; ++i) {
^
0_0_33881228_4605\Main.java:99: 错误: 需要class, interface或enum
for (int j = 0; j < M; ++j) if (g[i][j] == '.') {
^
0_0_33881228_4605\Main.java:99: 错误: 需要class, interface或enum
for (int j = 0; j < M; ++j) if (g[i][j] == '.') {
^
0_0_33881228_4605\Main.java:99: 错误: 需要class, interface或enum
for (int j = 0; j < M; ++j) if (g[i][j] == '.') {
^
0_0_33881228_4605\Main.java:101: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:106: 错误: 需要class, interface或enum
continue;
^
0_0_33881228_4605\Main.java:107: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:110: 错误: 需要class, interface或enum
for (int s = 0; s < (1 << n); ++s) {
^
0_0_33881228_4605\Main.java:110: 错误: 需要class, interface或enum
for (int s = 0; s < (1 << n); ++s) {
^
0_0_33881228_4605\Main.java:110: 错误: 需要class, interface或enum
for (int s = 0; s < (1 << n); ++s) {
^
0_0_33881228_4605\Main.java:111: 错误: 需要class, interface或enum
for (int kind = 0; kind < 4; ++kind) {
^
0_0_33881228_4605\Main.java:111: 错误: 需要class, interface或enum
for (int kind = 0; kind < 4; ++kind) {
^
0_0_33881228_4605\Main.java:114: 错误: 需要class, interface或enum
while (x) {
^
0_0_33881228_4605\Main.java:116: 错误: 需要class, interface或enum
x &= (x - 1);
^
0_0_33881228_4605\Main.java:117: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:124: 错误: 需要class, interface或enum
}
^
0_0_33881228_4605\Main.java:126: 错误: 需要class, interface或enum
}
^
73 个错误
|