is 14521794174 the answer by any chance? It took 12 hrs
http://codepad.org/rdSirAkD -- Solution to third problem in 26 lines of ruby _without_ using combinations. It's pretty fast too, gives the answer in 0.020s.
http://codepad.org/1dImO2j0 -- 26 lines of ruby will keep running throughout the year :P
is 14521794174 the answer by any chance? It took 12 hrs
http://codepad.org/rdSirAkD -- Solution to third problem in 26 lines of ruby _without_ using combinations. It's pretty fast too, gives the answer in 0.020s.
http://codepad.org/1dImO2j0 -- 26 lines of ruby will keep running throughout the year :P