0_0_17448803_25375\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_17448803_25375\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_17448803_25375\Main.java:2: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_17448803_25375\Main.java:4: 错误: 需要class, interface或enum
int start_g[1000001][2];
^
0_0_17448803_25375\Main.java:5: 错误: 需要class, interface或enum
int start_c[1000001][2];
^
0_0_17448803_25375\Main.java:6: 错误: 需要class, interface或enum
char check_g[4]={'g','i','r','l'};
^
0_0_17448803_25375\Main.java:7: 错误: 需要class, interface或enum
char check_c[3]={'c','a','t'};
^
0_0_17448803_25375\Main.java:8: 错误: 需要class, interface或enum
int count_girl;
^
0_0_17448803_25375\Main.java:9: 错误: 需要class, interface或enum
int count_cat;
^
0_0_17448803_25375\Main.java:10: 错误: 需要class, interface或enum
int move[4][2]={{1,0},{0,1},{-1,0},{0,-1}};
^
0_0_17448803_25375\Main.java:11: 错误: 需要class, interface或enum
void dfs_g(int x,int y,int step)
^
0_0_17448803_25375\Main.java:17: 错误: 需要class, interface或enum
return;
^
0_0_17448803_25375\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:21: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)
^
0_0_17448803_25375\Main.java:21: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)
^
0_0_17448803_25375\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:34: 错误: 需要class, interface或enum
return;
^
0_0_17448803_25375\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:38: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)
^
0_0_17448803_25375\Main.java:38: 错误: 需要class, interface或enum
for(int i=0;i<4;i++)
^
0_0_17448803_25375\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:48: 错误: 需要class, interface或enum
scanf("%d",&n);
^
0_0_17448803_25375\Main.java:49: 错误: 需要class, interface或enum
int x,y;
^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_17448803_25375\Main.java:50: 错误: 需要class, interface或enum
for(int i=0;i<n;i++)
^
0_0_17448803_25375\Main.java:53: 错误: 需要class, interface或enum
scanf("%d%d",&x,&y);
^
0_0_17448803_25375\Main.java:54: 错误: 需要class, interface或enum
getchar();
^
0_0_17448803_25375\Main.java:55: 错误: 需要class, interface或enum
int count_g,count_c;
^
0_0_17448803_25375\Main.java:56: 错误: 需要class, interface或enum
count_c=count_g=0;
^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
for(int t=1;t<=x;t++)
^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
for(int t=1;t<=x;t++)
^
0_0_17448803_25375\Main.java:57: 错误: 需要class, interface或enum
for(int t=1;t<=x;t++)
^
0_0_17448803_25375\Main.java:59: 错误: 需要class, interface或enum
for(int l=1;l<=y;l++)
^
0_0_17448803_25375\Main.java:59: 错误: 需要class, interface或enum
for(int l=1;l<=y;l++)
^
0_0_17448803_25375\Main.java:62: 错误: 需要class, interface或enum
if(buf[t][l]=='g')
^
0_0_17448803_25375\Main.java:65: 错误: 需要class, interface或enum
start_g[count_g][1]=l;
^
0_0_17448803_25375\Main.java:66: 错误: 需要class, interface或enum
count_g++;
^
0_0_17448803_25375\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:71: 错误: 需要class, interface或enum
start_c[count_c][1]=l;
^
0_0_17448803_25375\Main.java:72: 错误: 需要class, interface或enum
count_c++;
^
0_0_17448803_25375\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:85: 错误: 需要class, interface或enum
for(int i=0;i<count_g;i++)
^
0_0_17448803_25375\Main.java:85: 错误: 需要class, interface或enum
for(int i=0;i<count_g;i++)
^
0_0_17448803_25375\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:89: 错误: 需要class, interface或enum
for(int i=0;i<count_c;i++)
^
0_0_17448803_25375\Main.java:89: 错误: 需要class, interface或enum
for(int i=0;i<count_c;i++)
^
0_0_17448803_25375\Main.java:92: 错误: 需要class, interface或enum
}
^
0_0_17448803_25375\Main.java:95: 错误: 需要class, interface或enum
}
^
52 个错误
|