0_0_35586664_9429\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_35586664_9429\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_35586664_9429\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_35586664_9429\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_35586664_9429\Main.java:5: 错误: 非法字符: '#'
#define MaxV 125
^
0_0_35586664_9429\Main.java:9: 错误: 需要class, interface或enum
bool map[MaxV][MaxV];
^
0_0_35586664_9429\Main.java:10: 错误: 需要class, interface或enum
bool checked[MaxV];
^
0_0_35586664_9429\Main.java:11: 错误: 需要class, interface或enum
int xM[MaxV], yM[MaxV];
^
0_0_35586664_9429\Main.java:12: 错误: 需要class, interface或enum
int interNo, streetNo;
^
0_0_35586664_9429\Main.java:14: 错误: 需要class, interface或enum
bool search(int i)
^
0_0_35586664_9429\Main.java:16: 错误: 需要class, interface或enum
for(int j = 0; j < interNo; j++) {
^
0_0_35586664_9429\Main.java:16: 错误: 需要class, interface或enum
for(int j = 0; j < interNo; j++) {
^
0_0_35586664_9429\Main.java:19: 错误: 需要class, interface或enum
if(yM[j] == -1 || search(yM[j])) {
^
0_0_35586664_9429\Main.java:21: 错误: 需要class, interface或enum
yM[j] = i;
^
0_0_35586664_9429\Main.java:22: 错误: 需要class, interface或enum
return true;
^
0_0_35586664_9429\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:33: 错误: 需要class, interface或enum
memset(xM, -1, sizeof(xM));
^
0_0_35586664_9429\Main.java:34: 错误: 需要class, interface或enum
memset(yM, -1, sizeof(yM));
^
0_0_35586664_9429\Main.java:36: 错误: 需要class, interface或enum
for(int i = 0; i < interNo; i++) {
^
0_0_35586664_9429\Main.java:36: 错误: 需要class, interface或enum
for(int i = 0; i < interNo; i++) {
^
0_0_35586664_9429\Main.java:36: 错误: 需要class, interface或enum
for(int i = 0; i < interNo; i++) {
^
0_0_35586664_9429\Main.java:39: 错误: 需要class, interface或enum
if(search(i))
^
0_0_35586664_9429\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:50: 错误: 需要class, interface或enum
scanf("%d", &t);
^
0_0_35586664_9429\Main.java:51: 错误: 需要class, interface或enum
while(t--) {
^
0_0_35586664_9429\Main.java:53: 错误: 需要class, interface或enum
scanf("%d%d", &interNo, &streetNo);
^
0_0_35586664_9429\Main.java:54: 错误: 需要class, interface或enum
for(int i = 0; i < streetNo; i++) {
^
0_0_35586664_9429\Main.java:54: 错误: 需要class, interface或enum
for(int i = 0; i < streetNo; i++) {
^
0_0_35586664_9429\Main.java:54: 错误: 需要class, interface或enum
for(int i = 0; i < streetNo; i++) {
^
0_0_35586664_9429\Main.java:56: 错误: 需要class, interface或enum
scanf("%d%d", &a, &b);
^
0_0_35586664_9429\Main.java:57: 错误: 需要class, interface或enum
map[a-1][b-1] = true;
^
0_0_35586664_9429\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:61: 错误: 需要class, interface或enum
printf("%d\n", interNo - result);
^
0_0_35586664_9429\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_35586664_9429\Main.java:65: 错误: 需要class, interface或enum
}
^
37 个错误
|