Page 4 of 4 <1234
Topic Options
#180633 - 2007-09-16 06:59 PM Re: KiXgolf: A-to-Z - Public Round [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11625
Loc: CA
I would agree with that too. Seems to me that someone wrote a pretty big KFD tool from KiX with not too much help.
Top
#180634 - 2007-09-16 09:31 PM Re: KiXgolf: A-to-Z - Public Round [Re: NTDOC]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
I second that!

Haven't got any time yesterday as it was my youngest doughter's school enrollment day \:\)

Hmmm ... so I am thrown back in 3rd place, eh? Well, I can't tell if I'll find something with that short time left, but anyway, it would be my best result ever. \:\)

 Quote:

$=Join($c,SubStr($,2,-$e))

stunningly sharp one \:o


 Quote:

-$e-$f<$a


This one works only coincidentally, because of the way the input is given, no? Edit... No, it is working intentionally .... clever, very clever!


Edited by Jochen (2007-09-16 10:18 PM)
_________________________



Top
#180635 - 2007-09-16 10:12 PM Re: KiXgolf: A-to-Z - Public Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Still, we haven't heard Jens on the absolute loop value case... So, until this is the case, here is another preliminary post:


Your solution passed all tests

KiXtart
KiXtart Version = 4.53
KiXGolf Script = kixgolf_A2Z.kix

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

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = A-to-Z
Processing Start = 2007/09/16 22:07:26.015
Processing End = 2007/09/16 22:07:26.328
Duration = 0000/00/00 00:00:00.312
KiXGolf Score = 204

Thank you for participating in KiXtart Golf!




 Code:
function a($b,$c)
	dim $,$d,$e
	$a=0
	for each $ in $b
		dim $f
		for each $d in $b
			if $<$d
				for $e=-99 to -2
					if $=join($c,substr($,2,-$e))&-$e-$f<$a|~$a
						$a=''+(($^)-$f)+' '+$
					else
						if right($,-$e)=left($d,-$e)
							$=$+' '+$d
							$f=$f-$e+1
endfunction
_________________________



Top
#180636 - 2007-09-16 10:28 PM Re: KiXgolf: A-to-Z - Public Round [Re: Jochen]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Hmmm ... my odds are not so bad this time as the longest word in a major English dictionary is Pneumonoultramicroscopicsilicovolcanoconiosis with 45 characters and I count from 99 \:D
_________________________



Top
#180637 - 2007-09-16 10:54 PM Re: KiXgolf: A-to-Z - Public Round [Re: Jochen]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
However the longest published english language word (not published in a dictionary) is to long to be posted here \:\)

But can be found here for the curious http://www.othyr.com/titin.html

189,819 letters


Edited by Gargoyle (2007-09-16 10:56 PM)
_________________________
Today is the tomorrow you worried about yesterday.

Top
#180638 - 2007-09-17 05:34 AM Re: KiXgolf: A-to-Z - Public Round [Re: Gargoyle]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Public round is now closed. Final results will be posted tomorrow.
_________________________
There are two types of vessels, submarines and targets.

Top
#180639 - 2007-09-17 08:34 AM Re: KiXgolf: A-to-Z - Public Round [Re: Gargoyle]
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
As said, I shall be happy in any case ;\)

Edit: My post about the length of a single word is of course futile as it originally loops the length of the resulting string \:D


Edited by Jochen (2007-09-17 09:42 AM)
_________________________



Top
#180640 - 2007-09-17 11:29 AM Re: KiXgolf: A-to-Z - Public Round [Re: Jochen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, waiting for the score...
_________________________
!

download KiXnet

Top
#180748 - 2007-09-20 05:28 AM Re: KiXgolf: A-to-Z - Public Round [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Final results...

1) All codes suffered from the same problem in that the sequencing of the words in the test cases did matter
2) As far as I can understand the main question regarding word length is actually regarding how many letters can overlap between two different words. I have not found evidence of normal words where more than eigth letters overlap.

Thus, test cases will not be modified to take either of the issues into account. All posted codes pass the posted test cases.

Here's a potential additional rule to take into account the issues above:
Additional test cases can be added during the private round by submitting a proposal for a new test case to the BBS. The proposed test case becomes official once it has been added to the existing test cases and the KiXgolf package has been reposted for download. If new test cases are added within 12 hours of private round end the private round will extend by an additional 24 hours. The public round will then start one day later and also end one day later. Not additional test cases will be added during the public round.

Other rules would be modified as necessary in order to accomodate this new rule.

So, and now the final results of the public round:
 Code:
Jochen .......... 204 (5 points)
Jooel ........... 205 (4 points)
Benny69 ......... 206 (3 points)
DrillSergeant ... 215 (2 points)

Jochen is therefore the winner of the public round.

Final results of both rounds combined and thus the winner of "KiXgolf A-Z" is Jochen
 Code:
Player        |     Score     |Participation |   Private   |Public|Grand
              |Private  Public|   Bonus      |Bonus  Points|Points|Totals
--------------+---------------+--------------+-------------+------+------
Jochen        | 234      204  |  1           |  1      4   |  5   | 11
Benny69       | 218      206  |  1           |  1      5   |  3   | 10
DrillSergeant | 267      215  |  1           |  1      3   |  2   |  7
Jooel         | N/A      205  |  1           |  1      0   |  4   |  6


Edited by Sealeopard (2007-09-21 05:26 AM)
_________________________
There are two types of vessels, submarines and targets.

Top
#180749 - 2007-09-20 05:33 AM Re: KiXgolf: A-to-Z - Public Round [Re: Sealeopard]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Congrats Jochen!
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#180752 - 2007-09-20 06:53 AM Re: KiXgolf: A-to-Z - Public Round [Re: Benny69]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yeah, jochen, you are the master guru! \:\)
_________________________
!

download KiXnet

Top
#180755 - 2007-09-20 10:02 AM Re: KiXgolf: A-to-Z - Public Round [Re: Benny69]
Jochen Administrator Offline
KiX Supporter
*****

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

_________________________



Top
Page 4 of 4 <1234


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

Who's Online
1 registered (mole) and 643 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

Generated in 0.14 seconds in which 0.103 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