for this que : https://codeforces.com/contest/827/problem/C
my code:
https://codeforces.com/contest/827/submission/76709074
Time limit exceeded on test 9
I haven’t done that problem till now and I am currently doing it.
I will see your tommorrow after I will solve it on my own.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.