could you please tell me why i get TLE on this problem.
problem 508D - Tanya and Password submission 13185196
Codeforces Round 1123 Solution Discussion