OCUK Xmas Programming Challenge

well done to everyone especially Nimble for winning and tntcoder for taking the time to put this together :)
 
Yay mine wasn't the slowest ;). Second largest, although I reckon most of mine is either comments or the Thread class I borrowed.

Good job all, and congrats to Nimble :)
 
When you look at Nimbles code and see this
Code:
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define SUPER_TASK_THREADING[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#666666]//Number of[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 4[/COLOR]

Am i right in thinking that for a 980x, which is 6 cores 12 threads,

Code:
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 6[/COLOR]

Would be even quicker ?
 
Congratulations to Nimble :p

And thanks to TNTCoder for organising this, maybe he should rename himself as INTCoder!, not that all his numbers would have fitted into one!

Happy New Year all ;)
 
Congrats :).

And cheers for tntcoder for setting it up.. you'll have to do it again next year :p.
 
Congratulations to Nimble and well done to everyone who completed an entry. I enjoyed the competition and wouldn't mind seeing more challenges like this, provided people are willing to run them. Of course that means a big thank you to tntcoder for organising this.

Also after having gone through mine and other's code a few times there have been a few "Oh, I could've done that!" moments, particularly in terms of memoizing the Collatz sequence generation - I mean I did give that a go, but the ways in which I tried to implement it tended to do more harm than good. As an exercise to myself I shall try to implement it properly. Also that I forgot to finish writing some of my comments. :p
 
Yay, I've emailed my prize selection :). Good job on running the competition, hopefully we can see some more like this.

When you look at Nimbles code and see this
Code:
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define SUPER_TASK_THREADING[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#666666]//Number of[/COLOR]
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 4[/COLOR]

Am i right in thinking that for a 980x, which is 6 cores 12 threads,

Code:
<li style="font-weight: normal; vertical-align: top;">[COLOR=#339900]#define NUM_SUBTASK_THREADS 6[/COLOR]

Would be even quicker ?

Yes, that should be faster, maybe even better with 12. The final tests were on a quad core instead though.

Also after having gone through mine and other's code a few times there have been a few "Oh, I could've done that!" moments, particularly in terms of memoizing the Collatz sequence generation - I mean I did give that a go, but the ways in which I tried to implement it tended to do more harm than good. As an exercise to myself I shall try to implement it properly. Also that I forgot to finish writing some of my comments. :p

I had that when I noticed everyone else used an array for getting a number in words while I used switch/case blocks :p.
 
I bow down to you all.... I have tried learning programming so many times, I just cant get my head round it so I am either too thick or my brain just isnt wired for dev work
 
Well, I missed the entry date by quite a bit then :o.

Sorry, I was in bed with flu over christmas so didn't have much time to do the final tidying.

If I get around to it I shall try send it in anyway, It wouldn't come close to the podium though ;)
 
Back
Top Bottom