Added some solutions from Codeforces 210 and SRM 596