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

kgargdun's blog

By kgargdun, history, 6 years ago, In English

Hi, I am on my adventure to solve CSES problem set. I found this nice editorial for Range Query section here

But i guess some new problems were added or were skipped there. I am struggling in one such problem. here Any hint/approach will be highly appreciated!

EDIT: Yay AC ! I tried to code it as simple as possible.

AC solution

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it