dp_man's blog

By dp_man, history, 9 months ago, In English

Can anyone help me debug this submission https://codeforces.com/contest/1795/submission/217168990 Here I used segment tree for range update ,I mean adding 1 to a certain range. I know that this can be done using only a loop and and an array as I have to add 1 always but I wanna do this using segment tree. Thanks in advance.

Full text and comments »

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

By dp_man, history, 4 years ago, In English

Today I was trying to solve this problem http://lightoj.com/volume_showproblem.php?problem=1033 but couldn't find out any way to solve it. Can any body please describe how to solve this problem?

Full text and comments »

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