usaco The Castle (并查集)
/*
PROG: castle
LANG: C++
*/
#include
#include
#include
#include
#define rep(i,a,b) for(i=a;i<=b;i++)
#define N 10000000
using namespace std;
struct WALL
{
bool w,n,e,s;
}to[20],wall[55][55];
i
原创
2014-09-08 18:28:05 ·
197 阅读 ·
0 评论