sparshgunner12's blog

By sparshgunner12, history, 6 years ago, In English

Hi all, I am unable to submit solution to this problem. http://codeforces.me/problemset/problem/1045/I The language is Rust. The page just keeps on reloading.

Full text and comments »

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

By sparshgunner12, 10 years ago, In English

Cannot submit solutions to problem 2 codeforces round 261

Full text and comments »

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

By sparshgunner12, 11 years ago, In English

I sat in the gym contest http://codeforces.me/gym/100228 .Well I am trying to come up with a solution for B)Decorations C)EKG Sequence with no success.Can someone please suggest the algorithm behind these two problems.Seems a lot of u(Over 100 teams) have solved it.Thanks in advance.

Full text and comments »

Tags gym
  • Vote: I like it
  • -6
  • Vote: I do not like it

By sparshgunner12, 11 years ago, In English

Hey suppose given a list of values i need to update a range(add a number to all numbers in that range) and query the number of numbers in that range smaller than 0.Can u suggest an O(log k where k is the length of the range) time complex algorithm for it.I think it's a variation of segment trees but don't know how?

Full text and comments »

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