Category Archives: Programming

Programming Challenges: 110208 Yahtzee

I completed the Yahtzee problem today, after a couple of days effort. I first double checked my previous 2004 solution’s scoring function, there were a few gems in there that I had to reprove, like how the full house was … Continue reading

Posted in C++, Programming | Tagged | 3 Comments

Programming Challenges: 110701 Light. More light

Today’s problem was Light. More Light, and I knew the naive solution would timed-out, and no surprise when it did. I then looked to reduce the number of calculations, and that also timed-out. The end solution was to see the … Continue reading

Posted in Programming | Tagged | Leave a comment

Programming Challenges: Compilation error

If you get a Compilation Error message when you submit a problem solution, go to the Statistics page, and then open your latest submission to see the actual error messages. Annoying, but better than guessing what’s wrong.

Posted in Programming | Tagged | Comments Off

Programming Challenges: 110501 Primary Arithmetic

Primary Arithmetic Not a too tricky a problem here, took two attempts because I forgot to clear the carry flag in the non-carry case.

Posted in Programming | Tagged | Comments Off

Programming Challenges Problems – Easiest to Hardest

After completing the The Stern-Brocot Number System problem the other day, I pondered which problem to solve next. So I created a Excel spreadsheet to hold all 112 problems, and then sorted it by number of Users Solved to see … Continue reading

Posted in Programming | Tagged | 9 Comments