Page 8 of 10 « First<678910>
Topic Options
#178935 - 2007-08-08 07:53 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
test 7 should anyways always decode back fine. both ways, numbers as punc or as data.

anyways, my new code does actually what I wanted it to do. it works perfectly with all 10 tests!

KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 20:50:03.687
Processing End   = 2007/08/08 20:50:04.328
Duration         = 0000/00/00 00:00:00.640
KiXGolf Score    = 423
KiXGolf Result   = Solution passed all 20 tests
 
Thank you for participating in KiXtart Golf!

if someone wonders my output, I changed the sOutput. first to make it look ok on the board and then added the actual result to the result-section. in the original version if someone took the file and copy-pasted it on board, it wouldn't have said if the result was a failure or success.
_________________________
!

download KiXnet

Top
#178936 - 2007-08-08 08:00 PM Re: KiXgolf: Top Secret [Re: Lonkero]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Originally Posted By: Jooel
if someone wonders my output, I changed the sOutput. first to make it look ok on the board and then added the actual result to the result-section.
in the original version if someone took the file and copy-pasted it on board, it wouldn't have said if the result was a failure or success.


Posting scores that don't generate a success would come out in the public round anyway, so I can't imagine why anyone would do that.
_________________________
The Code is out there

Top
#178937 - 2007-08-08 08:03 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
just personal preference.
also, with that line, one can see how many tests were performed over all.
_________________________
!

download KiXnet

Top
#178938 - 2007-08-08 08:10 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
YIHAAA!!!!!!!!


KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 21:11:17.593
Processing End   = 2007/08/08 21:11:18.546
Duration         = 0000/00/00 00:00:00.953
KiXGolf Score    = 378
KiXGolf Result   = Solution passed all 20 tests
 
Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#178939 - 2007-08-08 08:14 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I think your Test #7 data is incorrect:

[Test 7]
Blocksize=7
Permutation=6,3,5,1,7,2,4
Input =And it's 1, 2, 3, what are we fightin' for?
Output=sdt Aw'n 1, 2, 3, ietr hwa at iheifgo' nfr?

Output should be:

Output=sdt A1'n i, t, w, a2a3 hiw fr geeoifh' rtn?

Because the last statement states letters and numbers. Alphanumeric messages makes sense.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178940 - 2007-08-08 08:17 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK


KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 21:17:46.421
Processing End   = 2007/08/08 21:17:47.265
Duration         = 0000/00/00 00:00:00.843
KiXGolf Score    = 367
KiXGolf Result   = Solution passed all 20 tests
 
Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#178941 - 2007-08-08 08:19 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hoby, yeah.
his test7 is made on assumption that numerics are punctutations.
_________________________
!

download KiXnet

Top
#178945 - 2007-08-08 08:24 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK



KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 21:25:14.984
Processing End   = 2007/08/08 21:25:15.984
Duration         = 0000/00/00 00:00:01.000
KiXGolf Result   = Solution passed all 20 tests
KiXGolf Score    = 366
 
Thank you for participating in KiXtart Golf!


_________________________
!

download KiXnet

Top
#178946 - 2007-08-08 08:27 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Excellent job. I can not even think how my code could ever be as small. Can't wait to see it.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#178948 - 2007-08-08 08:32 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
tested my code, and making it work with numbers as part of data gets me to 380
_________________________
!

download KiXnet

Top
#178949 - 2007-08-08 08:35 PM Re: KiXgolf: Top Secret [Re: Howard Bullock]
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
 Originally Posted By: Howard Bullock
I think your Test #7 data is incorrect:

[Test 7]
Blocksize=7
Permutation=6,3,5,1,7,2,4
Input =And it's 1, 2, 3, what are we fightin' for?
Output=sdt Aw'n 1, 2, 3, ietr hwa at iheifgo' nfr?

Output should be:

Output=sdt A1'n i, t, w, a2a3 hiw fr geeoifh' rtn?

Because the last statement states letters and numbers. Alphanumeric messages makes sense.



I can change my code also to use numbers as data, but Jens's first post says: valid characters are a-z and A-Z
_________________________
The Code is out there

Top
#178950 - 2007-08-08 08:59 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Well, where is a Jens when we need one
_________________________



Top
#178951 - 2007-08-08 09:03 PM Re: KiXgolf: Top Secret [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Right then, it's getting late... need to do some prepare for my vacation starting on Saturday.

I hopefully get my code fixed for both static and moving numbers. Funny how when there are numbers in the block treated as static all prior to the first number freezes as well. Well, not really funny, quite puzzling
_________________________



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

Registered: 2001-06-05
Posts: 22346
Loc: OK
one more on the numbers.
I really like the idea for them to be handled as part of the data.

but, anywho, jens added his definition of 1-10 block and a-z & A-Z later to his original post and none of the tests provide way to determine between either.
so, think we need to go with number=punct

basically jens has right to rule over this, but it's already getting midnight here, so it would be unfair to redefine the rules when some of us have no chance of adapting.
_________________________
!

download KiXnet

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

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
I agree with Jooel. I also realise that my design would be different with alphanumeric characters instead of only letters.

That being said... \:\/


Running Test 1 Encoding...Decoding...Done
Running Test 2 Encoding...Decoding...Done
Running Test 3 Encoding...Decoding...Done
Running Test 4 Encoding...Decoding...Done
Running Test 5 Encoding...Decoding...Done
Running Test 6 Encoding...Decoding...Done
Running Test 7 Encoding...Decoding...Done
Running Test 8 Encoding...Decoding...Done
Running Test 9 Encoding...Decoding...Done
Running Test 10 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 = 2261 MHz
Memory = 1024 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/08 21:30:36.382
Processing End = 2007/08/08 21:30:36.741
Duration = 0000/00/00 00:00:00.358
KiXGolf Score = 361

Thank you for participating in KiXtart Golf!
_________________________
The Code is out there

Top
#178959 - 2007-08-08 10:03 PM Re: KiXgolf: Top Secret [Re: DrillSergeant]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn
_________________________
!

download KiXnet

Top
#178962 - 2007-08-08 10:05 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
wicked...


KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 23:06:23.250
Processing End   = 2007/08/08 23:06:24.125
Duration         = 0000/00/00 00:00:00.875
KiXGolf Result   = Solution passed all 20 tests
KiXGolf Score    = 362
 
Thank you for participating in KiXtart Golf!


_________________________
!

download KiXnet

Top
#178963 - 2007-08-08 10:12 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok, now we are even.


KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/08 23:13:25.078
Processing End   = 2007/08/08 23:13:25.968
Duration         = 0000/00/00 00:00:00.889
KiXGolf Result   = Solution passed all 20 tests
KiXGolf Score    = 361
 
Thank you for participating in KiXtart Golf!


_________________________
!

download KiXnet

Top
#178966 - 2007-08-08 11:10 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
wohoo!


KiXtart
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_ts.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 797 MHz
Memory           = 1014 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = Top Secret
Processing Start = 2007/08/09 00:11:24.296
Processing End   = 2007/08/09 00:11:25.296
Duration         = 0000/00/00 00:00:01.000
KiXGolf Result   = Solution passed all 20 tests
KiXGolf Score    = 358
 
Thank you for participating in KiXtart Golf!


_________________________
!

download KiXnet

Top
#178967 - 2007-08-08 11:16 PM Re: KiXgolf: Top Secret [Re: Lonkero]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ok, then we agree to count numbers as punctuation?
If so, my (in the mean time partly corrected) code will fail on some of the unofficial test cases:

Running Test 1 Encoding...Decoding...Done
Running Test 2 Encoding...Decoding...Done
Running Test 3 Encoding...Decoding...Done
Running Test 4 Encoding...Decoding...Done
Running Test 5 Encoding...Decoding...Done
Running Test 6 Encoding...failedDecoding...failedDone
Running Test 7 Encoding...failedDecoding...failedDone
Running Test 8 Encoding...Decoding...Done
Running Test 9 Encoding...Decoding...Done
Your solution failed 4 of 18 tests.

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_ts.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 15
Speed = 2400 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/08 23:00:50.984
Processing End = 2007/08/08 23:00:51.000
Duration = 0000/00/00 00:00:00.016
KiXGolf Score = 426

Thank you for participating in KiXtart Golf!


Why it does fail on the "very long text" is a riddle to me, maybe because of the single character surrounded by single punctuation ... only God knows

On the other side I have code that works with the official test cases and is shorter:


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.53
KiXGolf Script = kixgolf_ts.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 15
Speed = 2400 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/08 23:06:32.234
Processing End = 2007/08/08 23:06:32.234
Duration = 0000/00/00 00:00:00.000
KiXGolf Score = 421

Thank you for participating in KiXtart Golf!


This dies miserably on array reference out of bound if Blocksize >= 10
It's getting chaotic, no?

Wait, there's more ...

My ammended code passes the official results as well, is safe for Blocksize >= 10, but has a severe problem with numbers as 'punctuation':


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.53
KiXGolf Script = kixgolf_ts.kix

Computer
OS = Windows XP Professional
CPU = Intel Pentium Model 15
Speed = 2400 MHz
Memory = 2048 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/08 23:10:27.109
Processing End = 2007/08/08 23:10:27.109
Duration = 0000/00/00 00:00:00.000
KiXGolf Score = 426

Thank you for participating in KiXtart Golf!


The green is getting muddy, it's nearly bed time, I haven't got a change to provide a working solution as the rules aren't clear, I plead for getting it straight and add another 24 hrs to the private round ;\)

btw. You guys are insane ... How do you do this? \:o


Edited by Jochen (2007-08-08 11:31 PM)
Edit Reason: meant numbers as punctuation
_________________________



Top
Page 8 of 10 « First<678910>


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

Who's Online
0 registered and 370 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.078 seconds in which 0.03 seconds were spent on a total of 13 queries. Zlib compression enabled.

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