Anurag's blog

By Anurag, 11 years ago, In English
Sub-round1
1. After the Dance Battle
2.
3.

Please tell on how to solve these problems?
 
 
 
 
  • Vote: I like it
  • +5
  • Vote: I do not like it

11 years ago, # |
Rev. 3   Vote: I like it +7 Vote: I do not like it
LOL!  -1 for what ? U guys want me to be dormant? When i am active i get -(minuses) and when i am dormant , i am getting nothing.
11 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Look at this great blog explaining the solutions of qualification round of Hacker Cup.
Double Squares: http://itbhu.ac.in/codefest/blog/?p=159
Peg Game: http://itbhu.ac.in/codefest/blog/?p=172
Studious Student : http://itbhu.ac.in/codefest/blog/?p=180
Hope you will love this.
11 years ago, # |
  Vote: I like it 0 Vote: I do not like it
After the Dance Battle: Simple BFS.
First or Last: Simple DP with BigInteger.
11 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Greedy algo is enough for First or Last.
11 years ago, # |
  Vote: I like it 0 Vote: I do not like it
in "First or Last" question, how was it calculating probability.. can someone explain me how were they getting 54/175 in first case.
here is link for quick access to problem
http://www.facebook.com/hackercup/problems.php?round=144428782277390