#178849 - 2007-08-08 07:38 AM
Re: KiXgolf: Top Secret
[Re: Lonkero]
|
Jochen
KiX Supporter
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
top5 as in rank. there is no points for speed per jens' last rule change. back to the basics... shouldn't this qualify as ok result: failed: Collegiate Programming Contest =! Collegiate Programming Contets
it's soooo close :p
LOL, I got this result on Monday morning too This round should be labeled: Caution, Insanity Inside!
btw. I have started a promising approach yesterday, but haven't got too much time for it. Which time will it end today ?
_________________________
|
Top
|
|
|
|
#178852 - 2007-08-08 08:42 AM
Re: KiXgolf: Top Secret
[Re: DrillSergeant]
|
sixdoubleo
Starting to like KiXtart
Registered: 2004-02-06
Posts: 118
Loc: California, US
|
Well, I think I am about at my coding limits here....gonna hang it up for tonight at a 461.
Your solution passed all tests
KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_ts.kix
Computer
OS = Windows Vista Business Edition
CPU = AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Speed = 2798 MHz
Memory = 2046 MB
KiXGolf Scoring Engine
Scoring Engine = 3.3
KiXtart Golf Score
Tournament = Top Secret
Processing Start = 2007/08/07 23:07:15.733
Processing End = 2007/08/07 23:07:15.760
Duration = 0000/00/00 00:00:00.027
KiXGolf Score = 461
Thank you for participating in KiXtart Golf!
|
Top
|
|
|
|
#178855 - 2007-08-08 09:01 AM
Re: KiXgolf: Top Secret
[Re: Lonkero]
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I rewrote my code using another approach that looked promising, but I got stuck handing the last incomplete block characters.
My new approach is still a step backward:
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 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/08 02:57:24.829 Processing End = 2007/08/08 02:57:24.859 Duration = 0000/00/00 00:00:00.030 KiXGolf Score = 538
|
Top
|
|
|
|
#178875 - 2007-08-08 12:49 PM
Re: KiXgolf: Top Secret
[Re: Lonkero]
|
DrillSergeant
MM club member
Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
|
Jooel, I've been testing with this ini:
[Test 1]
Blocksize=5
Permutation=3,5,2,1,4
Input =Collegiate Programming Contest
Output=leoClaeigt orrPgmnmaio tCgntse
[test 2]
Blocksize=5
Permutation=3,5,2,1,4
Input =G, ,B
Output=B, ,G
[Test 3]
Blocksize=5
Permutation=3,5,2,1,4
Input ="ACM"
Output="MCA"
[Test 4]
Blocksize=5
Permutation=3,5,2,1,4
Input =Springfield, MA
Output=rnpSiilfgeA, Md
[Test 5]
Blocksize=5
Permutation=5,3,4,2,1
Input =Springfield, MA
Output=nripSliefgA, Md
[Test 6]
Blocksize=10
Permutation=3,5,2,1,4,6,10,9,8,7
Input =This is a very long text, something I hope will work
Output=iihT ss r evao glyn tstx, eehmotihI g neip owlr owlk
It's got a different permutation in Test 5 and a Block length = 10 in Test 6.
In the rules message is the text:
Note that blanks and punctuations are not counted in any block, and should be left in their original positions. Note that the last block should be handled differently if it does not contain the full length of characters. In the example, the last block is "est". Since it contains only 3 characters, we eliminate 4 and 5 from the permutation "3 5 2 1 4" and use "3 2 1" to reorder the last block and get "tse".
1 <= Blocksize <= 10 Characters are a-z and A-Z
and later on Jens says:
Anything that is not a letter or number would fall under the "punctuation" category.
This means that any character other than a letter is considered a punctuation.
That's also why I'm not sure if a number is a valid character in the message body...
_________________________
The Code is out there
|
Top
|
|
|
|
#178883 - 2007-08-08 01:13 PM
Re: KiXgolf: Top Secret
[Re: Lonkero]
|
DrillSergeant
MM club member
Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
|
I've added some other testcases that meet the criteria (one is with numbers ):
[Test 1]
Blocksize=5
Permutation=3,5,2,1,4
Input =Collegiate Programming Contest
Output=leoClaeigt orrPgmnmaio tCgntse
[Test 2]
Blocksize=5
Permutation=3,5,2,1,4
Input =G, ,B
Output=B, ,G
[Test 3]
Blocksize=5
Permutation=3,5,2,1,4
Input ="ACM"
Output="MCA"
[Test 4]
Blocksize=5
Permutation=3,5,2,1,4
Input =Springfield, MA
Output=rnpSiilfgeA, Md
[Test 5]
Blocksize=5
Permutation=5,3,4,2,1
Input =Springfield, MA
Output=nripSliefgA, Md
[Test 6]
Blocksize=10
Permutation=3,5,2,1,4,6,10,9,8,7
Input =This is a very long text, something I hope will work
Output=iihT ss r evao glyn tstx, eehmotihI g neip owlr owlk
[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?
[Test 8]
Blocksize=2
Permutation=2,1
Input = A,
Output= A,
If anyone can think of another test case, I'll be glad to put my code to the test...
_________________________
The Code is out there
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 920 anonymous users online.
|
|
|