Rosetta Problems

Color the Map Extreme

https://atcoder.jp/contests/jag2014autumn/tasks/icpc2014autumn_i