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://codeforces.me/contest/910/submission/33517729 ------>>> accepted http://codeforces.me/contest/910/submission/33517599 ------>>> tle Thanks if anyone could help