#833D

Codeforces 833D Red-black Cobweb【树分治】

timelimitpertest:6secondsmemorylimitpertest:256megabytesinput:standardinputoutput:standardoutputSlastyonalikestowatchlifeofnearbygrove'sdwellers.Thistimeshewatc...