• + 0 comments

    This is question to author. I think there is a problem in description: "1<=b<=e<=N". There is no N in a text. What is the limit for b and e: P (10^9) or size of S (10^6)? I guess it's 10^6, but want to be clear