sonthaile2002's blog

By sonthaile2002, history, 5 years ago, In English

You are given an array a of n integers (n <= 1e5, a [i] <= 1e5) and m (m <= 1e4) the query has the form (x, y) meaning that finding the xth largest value is made by y consecutive numbers in array a. please help me solve this problem? Thanks. And sorry because of my poor English.

Full text and comments »

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