0_0_30279294_20276\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_30279294_20276\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
^
0_0_30279294_20276\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_30279294_20276\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_30279294_20276\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_30279294_20276\Main.java:7: 错误: 需要class, interface或enum
bool vis[10][10];
^
0_0_30279294_20276\Main.java:8: 错误: 需要class, interface或enum
int mp[10][10];
^
0_0_30279294_20276\Main.java:9: 错误: 需要class, interface或enum
int dir[4][2] = {-1, 0, 0, -1, 1, 0, 0, 1};
^
0_0_30279294_20276\Main.java:11: 错误: 需要class, interface或enum
void dfs(int x, int y, int k) {
^
0_0_30279294_20276\Main.java:12: 错误: 需要class, interface或enum
for (int i = 0; i < 4; i++) {
^
0_0_30279294_20276\Main.java:12: 错误: 需要class, interface或enum
for (int i = 0; i < 4; i++) {
^
0_0_30279294_20276\Main.java:14: 错误: 需要class, interface或enum
int dy = y + dir[i][1];
^
0_0_30279294_20276\Main.java:15: 错误: 需要class, interface或enum
if (dx >= 0 && dy >= 0 && dx < 10 && dy < 10 && !vis[dx][dy] && mp[dx][dy] == k) {
^
0_0_30279294_20276\Main.java:17: 错误: 需要class, interface或enum
dfs(dx, dy, k);
^
0_0_30279294_20276\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:24: 错误: 需要class, interface或enum
int x1, x2, x3, x4, y1, y2, y3, y4;
^
0_0_30279294_20276\Main.java:25: 错误: 需要class, interface或enum
int x[5], y[5];
^
0_0_30279294_20276\Main.java:26: 错误: 需要class, interface或enum
int nx[5], ny[5];
^
0_0_30279294_20276\Main.java:28: 错误: 需要class, interface或enum
scanf("%d", &T);
^
0_0_30279294_20276\Main.java:29: 错误: 需要class, interface或enum
while (T--) {
^
0_0_30279294_20276\Main.java:31: 错误: 需要class, interface或enum
memset(mp, 0, sizeof(mp));
^
0_0_30279294_20276\Main.java:32: 错误: 需要class, interface或enum
scanf("%d %d %d %d", &x1, &y1, &x2, &y2);
^
0_0_30279294_20276\Main.java:33: 错误: 需要class, interface或enum
scanf("%d %d %d %d", &x3, &y3, &x4, &y4);
^
0_0_30279294_20276\Main.java:34: 错误: 需要class, interface或enum
x[1] = x1, x[2] = x2, x[3] = x3, x[4] = x4;
^
0_0_30279294_20276\Main.java:35: 错误: 需要class, interface或enum
y[1] = y1, y[2] = y2, y[3] = y3, y[4] = y4;
^
0_0_30279294_20276\Main.java:36: 错误: 需要class, interface或enum
x[0] = y[0] = -1;
^
0_0_30279294_20276\Main.java:37: 错误: 需要class, interface或enum
sort(x, x + 5);
^
0_0_30279294_20276\Main.java:38: 错误: 需要class, interface或enum
sort(y, y + 5);
^
0_0_30279294_20276\Main.java:39: 错误: 需要class, interface或enum
int len1 = unique(x, x + 5) - x;
^
0_0_30279294_20276\Main.java:40: 错误: 需要class, interface或enum
int len2 = unique(y, y + 5) - y;
^
0_0_30279294_20276\Main.java:41: 错误: 需要class, interface或enum
int tot1 = 0;
^
0_0_30279294_20276\Main.java:42: 错误: 需要class, interface或enum
int tot2 = 0;
^
0_0_30279294_20276\Main.java:43: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_30279294_20276\Main.java:43: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_30279294_20276\Main.java:43: 错误: 需要class, interface或enum
for (int i = 0; i < len1; i++) {
^
0_0_30279294_20276\Main.java:46: 错误: 需要class, interface或enum
else nx[tot1++] = x[i];
^
0_0_30279294_20276\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:48: 错误: 需要class, interface或enum
for (int i = 0; i < len2; i++) {
^
0_0_30279294_20276\Main.java:48: 错误: 需要class, interface或enum
for (int i = 0; i < len2; i++) {
^
0_0_30279294_20276\Main.java:51: 错误: 需要class, interface或enum
else ny[tot2++] = y[i];
^
0_0_30279294_20276\Main.java:52: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:54: 错误: 需要class, interface或enum
y1 = lower_bound(ny, ny + tot2, y1) - ny;
^
0_0_30279294_20276\Main.java:55: 错误: 需要class, interface或enum
x2 = lower_bound(nx, nx + tot1, x2) - nx;
^
0_0_30279294_20276\Main.java:56: 错误: 需要class, interface或enum
y2 = lower_bound(ny, ny + tot2, y2) - ny;
^
0_0_30279294_20276\Main.java:57: 错误: 需要class, interface或enum
x3 = lower_bound(nx, nx + tot1, x3) - nx;
^
0_0_30279294_20276\Main.java:58: 错误: 需要class, interface或enum
y3 = lower_bound(ny, ny + tot2, y3) - ny;
^
0_0_30279294_20276\Main.java:59: 错误: 需要class, interface或enum
x4 = lower_bound(nx, nx + tot1, x4) - nx;
^
0_0_30279294_20276\Main.java:60: 错误: 需要class, interface或enum
y4 = lower_bound(ny, ny + tot2, y4) - ny;
^
0_0_30279294_20276\Main.java:61: 错误: 需要class, interface或enum
x[1] = x1, x[2] = x2, x[3] = x3, x[4] = x4;
^
0_0_30279294_20276\Main.java:62: 错误: 需要class, interface或enum
y[1] = y1, y[2] = y2, y[3] = y3, y[4] = y4;
^
0_0_30279294_20276\Main.java:63: 错误: 需要class, interface或enum
for (int i = 1; i < 2; i += 2) {
^
0_0_30279294_20276\Main.java:63: 错误: 需要class, interface或enum
for (int i = 1; i < 2; i += 2) {
^
0_0_30279294_20276\Main.java:63: 错误: 需要class, interface或enum
for (int i = 1; i < 2; i += 2) {
^
0_0_30279294_20276\Main.java:64: 错误: 需要class, interface或enum
for (int j = x[i]; j < x[i + 1]; j++) {
^
0_0_30279294_20276\Main.java:64: 错误: 需要class, interface或enum
for (int j = x[i]; j < x[i + 1]; j++) {
^
0_0_30279294_20276\Main.java:65: 错误: 需要class, interface或enum
for (int k = y[i]; k < y[i + 1]; k++) {
^
0_0_30279294_20276\Main.java:65: 错误: 需要class, interface或enum
for (int k = y[i]; k < y[i + 1]; k++) {
^
0_0_30279294_20276\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:70: 错误: 需要class, interface或enum
for (int i = 3; i < 4; i += 2) {
^
0_0_30279294_20276\Main.java:70: 错误: 需要class, interface或enum
for (int i = 3; i < 4; i += 2) {
^
0_0_30279294_20276\Main.java:71: 错误: 需要class, interface或enum
for (int j = x[i]; j < x[i + 1]; j++) {
^
0_0_30279294_20276\Main.java:71: 错误: 需要class, interface或enum
for (int j = x[i]; j < x[i + 1]; j++) {
^
0_0_30279294_20276\Main.java:72: 错误: 需要class, interface或enum
for (int k = y[i]; k < y[i + 1]; k++) {
^
0_0_30279294_20276\Main.java:72: 错误: 需要class, interface或enum
for (int k = y[i]; k < y[i + 1]; k++) {
^
0_0_30279294_20276\Main.java:74: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:84: 错误: 需要class, interface或enum
for (int i = 0; i < 10; i++) {
^
0_0_30279294_20276\Main.java:84: 错误: 需要class, interface或enum
for (int i = 0; i < 10; i++) {
^
0_0_30279294_20276\Main.java:84: 错误: 需要class, interface或enum
for (int i = 0; i < 10; i++) {
^
0_0_30279294_20276\Main.java:85: 错误: 需要class, interface或enum
for (int j = 0; j < 10; j++) {
^
0_0_30279294_20276\Main.java:85: 错误: 需要class, interface或enum
for (int j = 0; j < 10; j++) {
^
0_0_30279294_20276\Main.java:88: 错误: 需要class, interface或enum
dfs(i, j, mp[i][j]);
^
0_0_30279294_20276\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:93: 错误: 需要class, interface或enum
}
^
0_0_30279294_20276\Main.java:95: 错误: 需要class, interface或enum
}
^
74 个错误
|