I'm at the palindromic 3 digit thingy.
Won't be able to code until tonight tho...
Btw plz post your usernamers, so we can add each other and see how we're doing!
The problem with several of these is that there's no data type with a large enough range to store the result of the calculations I was trying to do...there must be clever techniques using maths proofs and stuff for a lot of them, but I'm no maths genius.
I think if we changed the numbers to binary and parsed it into higherarchey ordered bytes we could push the results into a vector and that would give us as many places as we needed. But that's just off the top of my head, I haven't even read the problems yet and I didn't get much sleep last night so let the flamming begin! :D
Just saw the website. The problems are difficult to solve optimally.
Take for example no. 1. I recall that one of my ex-colleagues had come up with sequential generator for numbers of the form 3^m * 5^n that uses constant memory. I am not sure if he did justify its correctness.
EDIT: To be honest, I'll probably seek for the optimal answers from some source and try to learn them. I feel a bit foolish when I am inventing a bloated solution. I've done that before when I tried to make a codec in my earlier years. Took me a while to see that the people had created a whole theoretical framework around image transformations and information theory that is centuries ahead of anything that I could possibly imagine on my own.
@simeonz:
When you solve the problem, a special forum opens up, specifically for that question. There you can discuss algo's with fellow coders :D
On top of that, you get to download a PDF file, where the most optimal algorithm is described and explained ;)
I've gotten 74 so far. I started a couple of months ago. Of the first fifty or so, only a couple have caused me too much strain. My favorite that I've solved so far is #144. I'm finding that they are really strengthening my programming/problem solving skills. It's also nice that you don't have to be an expert programmer to do them. I've only been programming since around September 2010.