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