0_0_35832885_24589\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_35832885_24589\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_35832885_24589\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_35832885_24589\Main.java:3: 错误: 非法字符: '#'
#include<cstring>
^
0_0_35832885_24589\Main.java:4: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_35832885_24589\Main.java:5: 错误: 非法字符: '#'
#include<stack>
^
0_0_35832885_24589\Main.java:6: 错误: 非法字符: '#'
#include<vector>
^
0_0_35832885_24589\Main.java:7: 错误: 非法字符: '#'
#include<queue>
^
0_0_35832885_24589\Main.java:8: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_35832885_24589\Main.java:9: 错误: 非法字符: '#'
#include<cmath>
^
0_0_35832885_24589\Main.java:10: 错误: 非法字符: '#'
#define N 999999
^
0_0_35832885_24589\Main.java:12: 错误: 需要class, interface或enum
int row;//1~10
^
0_0_35832885_24589\Main.java:13: 错误: 需要class, interface或enum
int col;//1~100
^
0_0_35832885_24589\Main.java:14: 错误: 需要class, interface或enum
int map[12][102];
^
0_0_35832885_24589\Main.java:15: 错误: 需要class, interface或enum
int dp[12][102];
^
0_0_35832885_24589\Main.java:16: 错误: 需要class, interface或enum
int dir[3][2]={{-1,1},{0,1},{1,1}};//右上,正右,右下
^
0_0_35832885_24589\Main.java:17: 错误: 需要class, interface或enum
void dfs(int x,int y,int mont)
^
0_0_35832885_24589\Main.java:20: 错误: 需要class, interface或enum
if(y==col+1)
^
0_0_35832885_24589\Main.java:22: 错误: 需要class, interface或enum
for(int i=0;i<3;i++)
^
0_0_35832885_24589\Main.java:22: 错误: 需要class, interface或enum
for(int i=0;i<3;i++)
^
0_0_35832885_24589\Main.java:22: 错误: 需要class, interface或enum
for(int i=0;i<3;i++)
^
0_0_35832885_24589\Main.java:25: 错误: 需要class, interface或enum
ty=y+dir[i][1];
^
0_0_35832885_24589\Main.java:26: 错误: 需要class, interface或enum
if(tx==0||tx==row+1)//上下低互通
^
0_0_35832885_24589\Main.java:28: 错误: 需要class, interface或enum
/=fabs(row-tx);直接用函数出错了
^
0_0_35832885_24589\Main.java:31: 错误: 需要class, interface或enum
else
^
0_0_35832885_24589\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:35: 错误: 需要class, interface或enum
if(temp<dp[tx][ty])
^
0_0_35832885_24589\Main.java:38: 错误: 需要class, interface或enum
dfs(tx,ty,temp);
^
0_0_35832885_24589\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:47: 错误: 需要class, interface或enum
int mini=N;
^
0_0_35832885_24589\Main.java:48: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:48: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:48: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:50: 错误: 需要class, interface或enum
for(int j=1;j<=col;j++)
^
0_0_35832885_24589\Main.java:50: 错误: 需要class, interface或enum
for(int j=1;j<=col;j++)
^
0_0_35832885_24589\Main.java:53: 错误: 需要class, interface或enum
cin>>map[i][j];
^
0_0_35832885_24589\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:56: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:56: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:59: 错误: 需要class, interface或enum
dfs(i,1,map[i][1]);
^
0_0_35832885_24589\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:73: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:73: 错误: 需要class, interface或enum
for(int i=1;i<=row;i++)
^
0_0_35832885_24589\Main.java:78: 错误: 需要class, interface或enum
cx=i;//记录最小路径的最后一个点的坐标
^
0_0_35832885_24589\Main.java:79: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:83: 错误: 需要class, interface或enum
all.push(cx);
^
0_0_35832885_24589\Main.java:84: 错误: 需要class, interface或enum
for(int i=col-1;i>0;i--)
^
0_0_35832885_24589\Main.java:84: 错误: 需要class, interface或enum
for(int i=col-1;i>0;i--)
^
0_0_35832885_24589\Main.java:84: 错误: 需要class, interface或enum
for(int i=col-1;i>0;i--)
^
0_0_35832885_24589\Main.java:86: 错误: 需要class, interface或enum
for(int j=1;j<=row;j++)
^
0_0_35832885_24589\Main.java:86: 错误: 需要class, interface或enum
for(int j=1;j<=row;j++)
^
0_0_35832885_24589\Main.java:91: 错误: 需要class, interface或enum
all.push(cx);
^
0_0_35832885_24589\Main.java:92: 错误: 需要class, interface或enum
break;
^
0_0_35832885_24589\Main.java:93: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:97: 错误: 需要class, interface或enum
all.pop();
^
0_0_35832885_24589\Main.java:98: 错误: 需要class, interface或enum
while(!all.empty())
^
0_0_35832885_24589\Main.java:101: 错误: 需要class, interface或enum
all.pop();
^
0_0_35832885_24589\Main.java:102: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:104: 错误: 需要class, interface或enum
printf("%d\n",mini);
^
0_0_35832885_24589\Main.java:105: 错误: 需要class, interface或enum
}
^
0_0_35832885_24589\Main.java:107: 错误: 需要class, interface或enum
}
^
61 个错误
|