Here in this problem: https://mirror.codeforces.com/contest/1696/problem/B I got TLE in test case 10. Code Link: https://mirror.codeforces.com/contest/1696/submission/197268393 But after changing the long long int to int I got it accepted. Code Link: https://mirror.codeforces.com/contest/1696/submission/197268690 But I don't understand why I got TLE just for using long long int instead of int. Can anyone help me?