rohit singh's submission of Mahasena | CodeChef