Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

_greg's blog

By _greg, history, 9 years ago, In English

I have heard about the problem with this statement:

You are given an integer array. You need to perform two types of queries:

1. " pos val " — assign val to position pos.

2. " l r " — find MEX on the segment from l to r.

Does anyone know where can this problem be found?

Full text and comments »

  • Vote: I like it
  • +23
  • Vote: I do not like it