Please subscribe to the official Codeforces channel in Telegram via the link ×

cylo's blog

By cylo, history, 2 years ago, In English

Given n integer coordinates of the form (x, y) and Q queries in which a pair (a, b) is given. For each query output the number of coordinates whose x<=a AND y<=b.

Q<100000 N<1000 1<= x, y, a, b <= 1000

Read more »

  • Vote: I like it
  • 0
  • Vote: I do not like it