#146630 - 2005-08-29 05:17 AM
Re: KiXgolf: Happy Numbers
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
Maybe I should disqualify Bryce for cheating as he did post a potential solution I'll make sure that the next round will have an unmanageably long file name Also, the rules already take care of this via
Quote:
The UDF should be self-contained (except for any I/O mentioned in the challenge). In particular, you may not do things like fetching extra data from a remote site or file.
And I see that Jooel is his usual self and raises to the challenge. BTW, I'll keep the VALs in place because an intrinsic conversion of a NULL to a zero would happen anyway when comparing the function result against the expected result. I also do not have the zero as a test case, thus from an test suite eval point of view, there's no damage done.
Regarding the rumor of changing the rules in mid-race, I was informed by one of the participants that the name of the function penalizes certain potential approaches. As it is not my intention, I will change the name of the function that is being called to a one-character name of A(). While technically this is not a rule-change, I do realize that it can potentially affect the outcome. I will therefore recognize two first-round winners, one for the tightest code before the function name change, thus anything posted before this one, and a second one, if necessary, for the tightest code after the function name change. I will also notify all participants via PM of this change.
The updated package is available at http://s91376351.onlinehome.us/kixtart/kixgolf_happy_numbers.zip
Edited by sealeopard (2005-08-29 05:20 AM)
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
#146634 - 2005-08-29 07:05 AM
Re: KiXgolf: Happy Numbers
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4548
Loc: USA
|
So let me get this straight... this new UDF name removes 22 strokes... so 142-22=120... and EVEN with that I still don't beat Lonk's pre -22 code. GAWD!
Quote:
KiXtart KiXtart Version = 4.50 KiXGolf Script = kixgolf_happy_numbers.KIX
Computer OS = Windows XP Professional CPU = AMD Athlon(tm) 64 Processor 3200+ Speed = 2002 MHz Memory = 510 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXtart Golf Score Tournament = KiXtart Golf: Happy Numbers Processing Start = 2005/08/29 00:41:43.515 Processing End = 2005/08/29 00:41:43.531 Duration = 0000/00/00 00:00:00.016 # Tests Run = 57 # Tests Passed = 57 # Tests Failed = 0 Result = passed KiXGolf Score = 120
|
Top
|
|
|
|
#146639 - 2005-08-29 12:43 PM
Re: KiXgolf: Happy Numbers
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Crap Lonk.
KiXtart KiXtart Version = 4.50 KiXGolf Script = kixgolf_happy_numbers.kix
Computer OS = Windows XP Professional CPU = Intel Pentium Model 13 Speed = 1798 MHz Memory = 1024 MB
KiXGolf Scoring Engine Scoring Engine = 3.0.3
KiXtart Golf Score Tournament = KiXtart Golf: Happy Numbers Processing Start = 2005/08/29 06:25:37.574 Processing End = 2005/08/29 06:25:37.625 Duration = 0000/00/00 00:00:00.050 # Tests Run = 57 # Tests Passed = 57 # Tests Failed = 0 Result = passed KiXGolf Score = 95
Thank you for participating in KiXtart Golf!
|
Top
|
|
|
|
#146647 - 2005-08-29 03:37 PM
Re: KiXgolf: Happy Numbers
|
Bryce
KiX Supporter
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
Quote:
Maybe I should disqualify Bryce for cheating as he did post a potential solution I'll make sure that the next round will have an unmanageably long file name Also, the rules already take care of this via
Quote:
The UDF should be self-contained (except for any I/O mentioned in the challenge). In particular, you may not do things like fetching extra data from a remote site or file.
hehehe!
I posted that code knowing full well that if someone was to use it as a "solution" it would be against the spirit of the game.
Edited by Bryce (2005-08-29 06:42 PM)
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 610 anonymous users online.
|
|
|