https://codeforces.me/contest/1796/submission/195371028 Could someone tell me if I can improve this solution so I dont get TLE and if Yes how can i improve it .
https://codeforces.me/contest/1796/submission/195371028 Could someone tell me if I can improve this solution so I dont get TLE and if Yes how can i improve it .