Improve TopCoder SRM 643, 250 Problem TheKingsArmy

- check happy soldiers in the last column