Taranpreet Singh's submission of Weighted Necklace | CodeChef