![](https://cdn.codechef.com/sites/all/themes/abessive/images/content-wrapper-top-big.gif)
April 2012 Cook-off Problem Editorials |
Problem Setter for the contest was Anil Kishore.
Problem Tester for the contest was Maxim Kolosovskiy.
----------------------------------------------------------
BESTBATS : Top Batsmen
----------------------------------------------------------
PAINTING : Crease Painting
----------------------------------------------------------
RESIST : Resistance
----------------------------------------------------------
TMRATING : Best Buggy Ratings
----------------------------------------------------------
TRAINING : Selection for Training Camps
----------------------------------------------------------
![](https://cdn.codechef.com/sites/all/themes/abessive/images/content-wrapper-bootm-big.gif)
please xplain the solve() in