getting wrong answer for kingdom unity

pls temme y i am getting wrong answer for http://www.codechef.com/problems/KINGCON my solution is http://www.codechef.com/viewsolution/4061289

//