Home Posts tagged "python"
formats

Becoming a Project Euler addict

Published on August 31, 2010 by in Uncategorized

Jeez, now I’ve solved Project Euler problems #297 and #299. I think I’m becoming an addict #299 required quite a lot of help from my friend (thank you ) while #297 was particularly easy. I managed to code it correctly in about 15 minutes Can you? ;D Each new term in the Fibonacci sequence is

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
formats

Project Euler #298 – Solution

Published on August 29, 2010 by in Uncategorized

Omg, I finally solved this problem and gained access to Project Euler’s thread dedicated to its solutions. Apparently everybody came up with basically the same idea. The number of game states can be reduced to 438 (439 including the empty state). This way all 50 rounds can be simulated using dynamic programming. I’m not sure

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
© 2010-2012 Stanisław Adaszewski
credit