#180524 - 2007-09-13 01:15 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: DrillSergeant]
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
you sure? I've tested with this ini:
.
.
.
[Test 8]
Dictionary=ones,outside,other,ideas,against,students,added,education,about
Input=a,s
Output=11 about outside ideas
Well, the original Dictionary of test 8 is this line:
Dictionary=ones,about,outside,other,ideas,against,students,added,education
So, I think you're 209 Score shall be dismissed
_________________________
|
Top
|
|
|
|
#180528 - 2007-09-13 02:07 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Jochen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
dang! you guys are ripp'n it up, Nice!
|
Top
|
|
|
|
#180529 - 2007-09-13 02:42 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Benny69]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jochen's for 222
Function a($b,$c)
Dim $,$d,$e
$a=0
For Each $ in $b
Dim $f
For Each $d in $b
Dim $g
If $<$d
For $e = $^0 to 2 Step -1
If Right($,$e)=Left($d,$e)
$=$+' '+$d
$f=$f+$e+1
EndIf
Next
$g=($|)-$f
If Right($,1)=$c[1]&Left($,1)=$c[0]&$g<$a|~$a
$a=''+$g+' '+$
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests
Your solution passed all tests
KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix
Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB
KiXGolf Scoring Engine Scoring Engine = 3.3
KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 07:40:20.340 Processing End = 2007/09/13 07:40:20.371 Duration = 0000/00/00 00:00:00.030 KiXGolf Score = 222
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Top
|
|
|
|
#180531 - 2007-09-13 02:45 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Benny69]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jochen's for 219
Function a($b,$c)
Dim $,$d,$e
$a=0
For Each $ in $b
Dim $f
For Each $d in $b
If $<$d
For $e = $^0 to 2 Step -1
If Right($,$e)=Left($d,$e)
$=$+' '+$d
$f=$f+$e+1
EndIf
Next
If Right($,1)=$c[1]&Left($,1)=$c[0]&($|)-$f<$a|~$a
$a=''+(($|)-$f)+' '+$
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests
Your solution passed all tests
KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix
Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB
KiXGolf Scoring Engine Scoring Engine = 3.3
KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 07:45:24.137 Processing End = 2007/09/13 07:45:24.168 Duration = 0000/00/00 00:00:00.031 KiXGolf Score = 219
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Top
|
|
|
|
#180532 - 2007-09-13 02:48 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Benny69]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jochen's for 215
Function a($b,$c)
Dim $,$d,$e
$a=0
For Each $ in $b
Dim $f
For Each $d in $b
If $<$d
For $e = $^0 to 2 Step -1
If Right($,$e)=Left($d,$e)
$=$+' '+$d
$f=$f+$e+1
EndIf
If Right($,1)=$c[1] & Left($,1)=$c[0] & ($|)-$f<$a | ~$a
$a=''+(($|)-$f)+' '+$
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests
Your solution passed all tests
KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix
Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB
KiXGolf Scoring Engine Scoring Engine = 3.3
KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 07:48:54.231 Processing End = 2007/09/13 07:48:54.262 Duration = 0000/00/00 00:00:00.030 KiXGolf Score = 215
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Top
|
|
|
|
#180534 - 2007-09-13 02:53 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Jochen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Jochen's for 214
Function a($b,$c)
Dim $,$d,$e
$a=0
For Each $ in $b
Dim $f
For Each $d in $b
If $<$d
For $e = $^0 to 2 Step -1
If Right($,$e)=Left($d,$e)
$=$+' '+$d
$f=$f+$e+1
Else
If Right($,1)=$c[1] & Left($,1)=$c[0] & ($|)-$f<$a | ~$a
$a=''+(($|)-$f)+' '+$
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests
Your solution passed all tests
KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix
Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB
KiXGolf Scoring Engine Scoring Engine = 3.3
KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 08:10:59.434 Processing End = 2007/09/13 08:10:59.465 Duration = 0000/00/00 00:00:00.030 KiXGolf Score = 214
Thank you for participating in KiXtart Golf! Press any key to continue...
Its your code, I told you that our code is often very close
Edited by Benny69 (2007-09-13 03:11 PM)
|
Top
|
|
|
|
#180535 - 2007-09-13 02:57 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Benny69]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
ours is so close we even used the same vars
|
Top
|
|
|
|
#180538 - 2007-09-13 03:07 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Benny69]
|
Jochen
KiX Supporter
   
Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
|
Jochen's for 214
Function a($b,$c)
Dim $,$d,$e
$a=0
For Each $ in $b
Dim $f
For Each $d in $b
If $<$d
For $e = $^0 to 2 Step -1
If Right($,$e)=Left($d,$e)
$=$+' '+$d
$f=$f+$e+1
Else
If Right($,1)=$c[1] & Left($,1)=$c[0] & ($|)-$f<$a | ~$a
$a=''+(($|)-$f)+' '+$
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests Your solution passed all tests KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB KiXGolf Scoring Engine Scoring Engine = 3.3 KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 07:48:54.231 Processing End = 2007/09/13 07:48:54.262 Duration = 0000/00/00 00:00:00.030 KiXGolf Score = 215 Thank you for participating in KiXtart Golf! Press any key to continue... Its your code, I told you that our code is often very close
You should edit the score though
_________________________
|
Top
|
|
|
|
#180539 - 2007-09-13 03:20 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Jochen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
|
Top
|
|
|
|
#180544 - 2007-09-13 04:17 PM
Re: KiXgolf: A-to-Z - Public Round
[Re: Jochen]
|
Benny69
Moderator
   
Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
|
Drill's for 261:
Function a($l,$t)
Dim $, $i, $j, $k, $h
$h = $l
$a = 0
For Each $i in $l
For $j = 0 to UBound($l)
$ = $l[$j]
For $k = 0 to ($^)-1
If SubStr($,$k+1) = Left($i,($^)-$k)
If $k
$h[$j] = $h[$j] + ' ' + $i
EndIf
$ = Left($,$k) + $i
$l[$j] = $
If Left($,1) = $t[0] & Right($,1) = $t[1] & ($^)<$a | $a=0
$a = '' + ($^0) +' '+ $h[$j]
EndFunction
Running Test 1...Done...Result: 11 about outside ideas Running Test 2...Done...Result: 4 ones Running Test 3...Done...Result: 0 Running Test 4...Done...Result: 7 aabbbb bbbbz Running Test 5...Done...Result: 0 Running Test 6...Done...Result: 9 ayrton onset Running Test 7...Done...Result: 6 kita tart Running Test 8...Done...Result: 11 about outside ideas Your solution passed all tests
Your solution passed all tests
KiXtart KiXtart Version = 4.53 KiXGolf Script = kixgolf_A2Z.kix
Computer OS = Windows XP Professional CPU = Intel(R) Pentium(R) D CPU 3.20GHz Speed = 3200 MHz Memory = 2048 MB
KiXGolf Scoring Engine Scoring Engine = 3.3
KiXtart Golf Score Tournament = A-to-Z Processing Start = 2007/09/13 09:17:35.137 Processing End = 2007/09/13 09:17:35.199 Duration = 0000/00/00 00:00:00.061 KiXGolf Score = 261
Thank you for participating in KiXtart Golf! Press any key to continue...
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 634 anonymous users online.
|
|
|