Coding Challenge #1
Moderators: jelco, bert_the_turtle, Chris, Icepick, Rkiver
Coding Challenge #1
OK, I'm going to run some simple coding challenges. You can use whatever language you want.
The first challenge is to make a program that will take an integer as input and test if it is happy or not. If you don't know what that means, you'll have to look up Happy Numbers on the internet.
I'll be awarding points for solutions that impress me - ingenious solutions, small solutions, something written in an esoteric programming language - that type of thing.
Email the source of your solution, and if possible, a windows compiled binary, with some details about your solution. Send it to my gmail account, nuskradATgmail.com. Try and annotate your code - it's always a good habit.
I'm going to give a week for entries, but if you don't think that is long enough, tell me and I may extend it.
Good luck.
The first challenge is to make a program that will take an integer as input and test if it is happy or not. If you don't know what that means, you'll have to look up Happy Numbers on the internet.
I'll be awarding points for solutions that impress me - ingenious solutions, small solutions, something written in an esoteric programming language - that type of thing.
Email the source of your solution, and if possible, a windows compiled binary, with some details about your solution. Send it to my gmail account, nuskradATgmail.com. Try and annotate your code - it's always a good habit.
I'm going to give a week for entries, but if you don't think that is long enough, tell me and I may extend it.
Good luck.
-
Adam Black
- level4

- Posts: 594
- Joined: Mon Mar 18, 2002 5:37 pm
- Location: London, England
-
Blasted heath
- level5

- Posts: 1292
- Joined: Sat Jul 12, 2003 2:29 pm
- Location: Scotland ©
- Contact:
Darksun wrote:Even if you can't code, you could still have a go scripting something. I'd actually be quite impressed if someone manages to do it in one of those Gamemakers software, or in mIRC script.
I'll have a go in php, if I have the time, or if I should be doing something more important.
Blasted heath
Who is online
Users browsing this forum: No registered users and 19 guests







