Page 2 of 10 <12345>Last »
Topic Options
#178731 - 2007-08-06 06:07 PM Re: KiXgolf: Top Secret [Re: Jochen]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Holly Cow! I thought this was suppose to be the easy one of the bunch, I just started looking at this, this AM, this could take a while to get something that is working!

Jochen way to go, when did you start on this?
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#178732 - 2007-08-06 06:32 PM Re: KiXgolf: Top Secret [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh nooo!

My code works with the given test cases but will fail on eg.

Blocksize=5
Permutation=3,5,2,1,4
Input =G, ,B
Output=B, ,G

Will this disqualify the score ?

By the way, are the double quotes in test case 3 (Input="ACM") intentional ? Because they are suppressed completely in the processing...

Dale: Yesterday afternoon (my Timezone)


Edited by Jochen (2007-08-06 08:57 PM)
_________________________



Top
#178734 - 2007-08-06 06:56 PM Re: KiXgolf: Top Secret [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
btw,

a fairly simple logical bug I built in the decoding part; Actually it should be gone with 3 or 5 more strokes. Just can't see the forrest for the trees atm
_________________________



Top
#178737 - 2007-08-06 08:33 PM Re: KiXgolf: Top Secret [Re: Jochen]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA

Running Test 1 Encoding...Decoding...Done
Running Test 3 Encoding...Decoding...Done
Running Test 4 Encoding...Decoding...Done
Your solution passed all tests

KiXtart
KiXtart Version = 4.52
KiXGolf Script = kixgolf_ts.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 13
Speed = 1798 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/06 14:32:41.041
Processing End = 2007/08/06 14:32:41.051
Duration = 0000/00/00 00:00:00.010
KiXGolf Score = 502

Thank you for participating in KiXtart Golf!
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178738 - 2007-08-06 08:37 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
NICE !!!

What does it do with


Blocksize=5
Permutation=3,5,2,1,4
Input =G, ,B
Output=B, ,G

??



Edit: New score here is 557 (still not working on "G, ,B" )


Edited by Jochen (2007-08-06 08:57 PM)
_________________________



Top
#178739 - 2007-08-06 08:39 PM Re: KiXgolf: Top Secret [Re: Jochen]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Running Test 1 Encoding...Decoding...Done
Running test 2 Encoding...
ERROR : array reference out of bounds!
Script: C:\Data\Scripts\Golf\kixgolf_ts\KIXGOLF_TS.udf
Line : 25



Looking a little closer


Edited by Howard Bullock (2007-08-06 08:40 PM)
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178740 - 2007-08-06 08:45 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Wow I was a little confused there for a minute. I forgot to add the Blocksize to the test.

[test 2]
Blocksize=5
Permutation=3,5,2,1,4
Input =G, ,B
Output=B, ,G


once that was corrected:


Running Test 1 Encoding...Decoding...Done
Running test 2 Encoding...Decoding...Done
Running Test 3 Encoding...Decoding...Done
Running Test 4 Encoding...Decoding...Done
Your solution passed all tests

KiXtart
KiXtart Version = 4.52
KiXGolf Script = kixgolf_ts.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 13
Speed = 1798 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/06 14:44:42.282
Processing End = 2007/08/06 14:44:42.292
Duration = 0000/00/00 00:00:00.010
KiXGolf Score = 502

Thank you for participating in KiXtart Golf!
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178741 - 2007-08-06 08:52 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
LOL,

Sorry Howard, but this proofs your code to work in any case, right ? \:\)
Plus it's 55 strokes shorter than mine

edit: will edit my previous posts adding blocksize, not to confuse Jens, aye? ;\)


Edited by Jochen (2007-08-06 08:55 PM)
_________________________



Top
#178742 - 2007-08-06 09:23 PM Re: KiXgolf: Top Secret [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands

 Code:

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 798 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/06 21:21:14.031
Processing End   = 2007/08/06 21:21:14.046
Duration         = 0000/00/00 00:00:00.014
KiXGolf Score    = 540
 
Thank you for participating in KiXtart Golf!


Here's my first attempt, now to start golfing down to below 500 \:D
_________________________
The Code is out there

Top
#178743 - 2007-08-06 09:37 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands

 Code:

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 798 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/06 21:35:56.359
Processing End   = 2007/08/06 21:35:56.359
Duration         = 0000/00/00 00:00:00.000
KiXGolf Score    = 511
 
Thank you for participating in KiXtart Golf!


Look in your rearview mirror, howard! ;\)

(I've also included new test 2, is it going to be mandatory?)
_________________________
The Code is out there

Top
#178744 - 2007-08-06 09:46 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
We have to wait for Jens to judge... but I think it should be

Nice going btw.
_________________________



Top
#178745 - 2007-08-06 09:51 PM Re: KiXgolf: Top Secret [Re: Jochen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Code:

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 798 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/06 21:47:51.500
Processing End   = 2007/08/06 21:47:51.515
Duration         = 0000/00/00 00:00:00.014
KiXGolf Score    = 485
 
Thank you for participating in KiXtart Golf!


Ok, now to break that 400 \:\)

btw, Jochen, congrats on the first working post, I did feel a slight tinge of jealousy there \:\)
_________________________
The Code is out there

Top
#178747 - 2007-08-06 09:52 PM Re: KiXgolf: Top Secret [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, I think I also should take a look at this one...
_________________________
!

download KiXnet

Top
#178748 - 2007-08-06 09:55 PM Re: KiXgolf: Top Secret [Re: Lonkero]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
Yeah, I was wondering what kept you. You usually post a working score about 5 minutes after the opening \:\)
_________________________
The Code is out there

Top
#178749 - 2007-08-06 09:58 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I will begin to tighten my code after dinner tonight. I hope you don't get too far ahead.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178752 - 2007-08-06 10:32 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands

 Code:

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 798 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/06 22:31:19.640
Processing End   = 2007/08/06 22:31:19.656
Duration         = 0000/00/00 00:00:00.016
KiXGolf Score    = 465
 
Thank you for participating in KiXtart Golf!


Eat my dust! ;\)
_________________________
The Code is out there

Top
#178753 - 2007-08-06 10:35 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
not good.
can't seem to get my head around the string manipulation...
_________________________
!

download KiXnet

Top
#178754 - 2007-08-06 10:38 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
Dang it! I'm jealous.

I have got to be over looking something so obvious.

Top
#178755 - 2007-08-06 10:40 PM Re: KiXgolf: Top Secret [Re: Allen]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands

 Code:

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 798 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/06 22:39:18.546
Processing End   = 2007/08/06 22:39:18.562
Duration         = 0000/00/00 00:00:00.016
KiXGolf Score    = 459
 
Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#178756 - 2007-08-06 10:41 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Wow,

still have too many fors, ifs and the corresponding closing keywords in it to beat that (543 atm), and the not yet official test case 2 is still escaping me ... What have I done

[edit: Thanks for deleting the superflous posts, whoever it was, dunno whats going on


Edited by Jochen (2007-08-06 10:48 PM)
_________________________



Top
Page 2 of 10 <12345>Last »


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.06 seconds in which 0.02 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org