linshi18】的更多相关文章

#include<iostream> using namespace std; int n,m,k; #define max 100 char mmap[max][max]; int mmin; #define MIN(a,b) ((a)<(b)?(a):(b)); int x1,x2,y1,y2; int mmde[4][2]={{0,-1},{1,0},{0,1},{-1,0}}; int visited[max][max]; void dfs(int x,int y,int sum…