0_0_30421100_2725\Main.java:1: 错误: 需要class, interface或enum
public static int ans=0;
^
0_0_30421100_2725\Main.java:2: 错误: 需要class, interface或enum
public static int[][] result=new int[10][10];
^
0_0_30421100_2725\Main.java:3: 错误: 需要class, interface或enum
public static void dfs(int now, int end){
^
0_0_30421100_2725\Main.java:4: 错误: 需要class, interface或enum
for(int i=0;i<end;i++){
^
0_0_30421100_2725\Main.java:4: 错误: 需要class, interface或enum
for(int i=0;i<end;i++){
^
0_0_30421100_2725\Main.java:9: 错误: 需要class, interface或enum
return;
^
0_0_30421100_2725\Main.java:10: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:12: 错误: 需要class, interface或enum
changeRight(now,i,end,1);
^
0_0_30421100_2725\Main.java:13: 错误: 需要class, interface或enum
changeDown(now,i,end,1);
^
0_0_30421100_2725\Main.java:14: 错误: 需要class, interface或enum
dfs(now+1,end);
^
0_0_30421100_2725\Main.java:15: 错误: 需要class, interface或enum
changeLeft(now,i,end,-1);
^
0_0_30421100_2725\Main.java:16: 错误: 需要class, interface或enum
changeRight(now,i,end,-1);
^
0_0_30421100_2725\Main.java:17: 错误: 需要class, interface或enum
changeDown(now,i,end,-1);
^
0_0_30421100_2725\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:24: 错误: 需要class, interface或enum
if(row<end-1&&col<end-1){
^
0_0_30421100_2725\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:30: 错误: 需要class, interface或enum
if(row<end-1){
^
0_0_30421100_2725\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:35: 错误: 需要class, interface或enum
public static void changeLeft(int row,int col,int end,int num){
^
0_0_30421100_2725\Main.java:37: 错误: 需要class, interface或enum
if(row<end-1&&col>0){
^
0_0_30421100_2725\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:42: 错误: 需要class, interface或enum
public static void main(String[] args){
^
0_0_30421100_2725\Main.java:43: 错误: 需要class, interface或enum
for(int i=0;i<10;i++){
^
0_0_30421100_2725\Main.java:43: 错误: 需要class, interface或enum
for(int i=0;i<10;i++){
^
0_0_30421100_2725\Main.java:44: 错误: 需要class, interface或enum
for(int j=0;j<10;j++){
^
0_0_30421100_2725\Main.java:44: 错误: 需要class, interface或enum
for(int j=0;j<10;j++){
^
0_0_30421100_2725\Main.java:46: 错误: 需要class, interface或enum
}
^
0_0_30421100_2725\Main.java:50: 错误: 需要class, interface或enum
Scanner sc=new Scanner(System.in);
^
0_0_30421100_2725\Main.java:51: 错误: 需要class, interface或enum
int n=sc.nextInt();
^
0_0_30421100_2725\Main.java:52: 错误: 需要class, interface或enum
dfs(0,n);
^
0_0_30421100_2725\Main.java:54: 错误: 需要class, interface或enum
System.out.println(ans);
^
0_0_30421100_2725\Main.java:55: 错误: 需要class, interface或enum
}
^
32 个错误
|