Please help me with this question

https://cses.fi/problemset/task/1073
link to the question

This is a classical binary search question. It requires two binary searches to be done.
Can you tell me what help do you need?

i am asking about this question -: https://cses.fi/problemset/task/1073

You had mentioned Prata so I told you the approach for that question. It would be better if you could raise a doubt for that question mentioning the question details in the title.