harsh ranjan's submission of Graph Sum | CodeChef