javacoder1's blog

By javacoder1, history, 9 years ago, In English

I am having problem understanding how we are utilising Binary Indexed tree to solve the problem.The DFS part is clear as well as the notion of levels. But i am unable to understand how BIT is used. http://codeforces.com/contest/383/problem/C link.

Full text and comments »

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

By javacoder1, history, 9 years ago, In English

Hey i am getting wrong answer on amazing maze http://www.spoj.com/problems/DCEPC701/

my code http://ideone.com/B62iqc I am unable to find the error.Hope someone help me.

Full text and comments »

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