Reminder: in case of any technical issues, you can use the lightweight website m1.codeforces.com, m2.codeforces.com, m3.codeforces.com. ×

rb9's blog

By rb9, 4 years ago, In English,

Plz help me in solving this problem?

Read more »

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

By rb9, 4 years ago, In English,

I recently started learning dynamic programming, while solving some classical problems I encountered 2D range sum, and this which were solved using dp with inclusion and exclusion. Can anyone explain how can I tackle this types of problems? Any help will be appreciated.

Read more »

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

By rb9, 4 years ago, In English,

I was trying to solve this problem http://www.spoj.com/problems/GSS1/, after sometime I gave up and googled approach for it, I found this website https://kartikkukreja.wordpress.com/2014/11/09/a-simple-approach-to-segment-trees/ but still not able to understand problem and its solution.Plz help!

Read more »

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