vjudge11's submission of Mahasena | CodeChef