IN problem c of testing round 14 held on 22-12-2017 , by using long long the solution is getting tle but by doing type casting the solution gets accepted. http://mirror.codeforces.com/contest/910/submission/33517729 ------>>> accepted http://mirror.codeforces.com/contest/910/submission/33517599 ------>>> tle Thanks if anyone could help