I wrote about…
32-bit 64-bit algorythm background batch command c++ certificate combinatorics configuration contest der dev-c++ dynamic programming eclipse exponential facebook hacking cup import install jar java javascript keyboard keytool layout library mathematics maven modulo arithmetic mysql openCRX openssl pem php private key repository restore slider sort algorythm start svn syntax highlighting ubuntu windows wordpress x509Archives
- February 2013 (1)
- January 2012 (2)
- February 2011 (2)
- January 2011 (11)
- October 2010 (3)
- September 2010 (3)
- March 2004 (1)
- January 2004 (1)
Meta
Tag Archives: combinatorics
Facebook Hacking Cup – Round 1A – Wine Tasting – Solution
Acknowledgements So this problem seems suite simple. After some thinking I came up with the idea that C(n,k)*(n-k-1)! would give me the number of combinations with exactly k correct wines out of n glasses. Infact C(n,k) is the number of … Continue reading
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup, java
Leave a comment
Facebook Hacker Cup – Qualification Round – Peg Game – Solution
At first this problem puzzled me because the example: x.x.x.x.x x…x.x x…x.x.x x.x…x x.x.x.x.x G ‘x’ indicates a peg, ‘.’ indicates empty space. For me gave a solution of 0.63.
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup, java
Leave a comment
Facebook Hacking Cup – Qualification Round – Peg game
Peg Game description from Facebook hacking cup. Continue reading
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup
Leave a comment
Facebook Hacking Cup – Round 1A – Wine Tasting
(for the solution see here) Description A group of Facebook employees just had a very successful product launch. To celebrate, they have decided to go wine tasting. At the vineyard, they decide to play a game. One person is given … Continue reading
Posted in Programming
Tagged combinatorics, contest, dynamic programming, facebook hacking cup
Leave a comment