摘要: http://acm.hdu.edu.cn/showproblem.php?pid=3345最近重写usaco压力好大,每天写的都想吐。。水一道bfs注意的是开始旁边有敌人可以随便走,但是一旦开始走,再与敌人相邻行动力就变为0#include #include #include #include #include #include #include using namespace std ;char map[101][101] ;char ans[101][101] ;int vis[101][101] ;int n,m,MV ;typedef struct L{ int x,y ; ... 阅读全文