Comments
0

Thank You,Orzzz

0

How did you reach master this soon!!! Any tips on how should I practise?

C.Monopati

Can you help me to find where my approach failed?

https://codeforces.me/contest/2163/submission/359292937

I track the min and max of each path and use the delta to calculate the change in each path to find the legal l&r.