How to solve SRVR?

Can someone who successfully solved SRVR share their approach?
And will there be an editorial for SRVR?

https://codeforces.com/blog/entry/71816?#comment-561661