Solved 10004 BiColoring

BFS traversing