2007-2008 Winter Petrozavodsk Camp, Andrew Stankevich Contest 30-E - New Mayors - 二分图染色 (BFS+DFS)
http://codeforces.com/gym/100345/attachments-E-NewMayors 题意:给一无向图和三种颜色,顶点n(n
#include
#include
#include
#include
#include
#include
#include
#include
#include
usingnamespacestd;
constdoublepi=acos(-1.