Solutions to problems that we solved in ICPC Amritapuri Regionals and ICPC Kharagpur Regionals