Page 2 of 8 <12345>Last »
Topic Options
#171983 - 2006-12-24 10:42 AM Re: KiXgolf: Human Sort [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11603
Loc: CA
Quote:
just realised, doc said I suck.


LOL - it was meant in a joking way there Jooel, not literal.

It is actually often meant as an envious remark.

Top
#171984 - 2006-12-24 02:05 PM Re: KiXgolf: Human Sort [Re: NTDOC]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
I hope to get a working script soon... but everytime i think a got it, something else falls down \:\(
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#171985 - 2006-12-24 02:14 PM Re: KiXgolf: Human Sort [Re: RemcovC]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Rem, I know what you mean.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#171986 - 2006-12-24 02:44 PM Re: KiXgolf: Human Sort [Re: Benny69]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
lol
I had 5 out of 7 good, I change my script, now I have the other 2 good, but the first 5 fail...
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#171987 - 2006-12-24 04:30 PM Re: KiXgolf: Human Sort [Re: RemcovC]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4510
Loc: USA
I messed with it for a while the first night and ran into the same problem... I've been thinking about it, but have not had anything but brain farts so far. \:\(
Top
#171988 - 2006-12-24 04:47 PM Re: KiXgolf: Human Sort [Re: Allen]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
I've rewritten the whole function... and yes.. failed 2 tests again \:\(

But at least now I know where it goes wrong.... but the sollution... is far away i'm afraid.
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#171989 - 2006-12-24 05:30 PM Re: KiXgolf: Human Sort [Re: RemcovC]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
I have been contemplating the whole idea, and hope to give it a shot on Tuesday when I have to work (and it will be oh so slow).

But with the comments I am seeing.... I might be able to come in under 1000 \:\)
_________________________
Today is the tomorrow you worried about yesterday.

Top
#171990 - 2006-12-24 05:43 PM Re: KiXgolf: Human Sort [Re: Gargoyle]
RemcovC Offline
Starting to like KiXtart
*****

Registered: 2006-09-13
Posts: 174
Loc: Holland
At least you get a working function \:\)

I'm giving up for today, gonna start again probably on wednesday (cause of christmas appointments)

Good luck to you all
_________________________
It's better to have scripted and died, then to never have scripted at all

Top
#171992 - 2006-12-24 10:25 PM Re: KiXgolf: Human Sort [Re: RemcovC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
just an update.
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/24 23:23:44.539
Processing End = 2006/12/24 23:23:44.648
Duration = 0000/00/00 00:00:00.108
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 322
_________________________
!

download KiXnet

Top
#171993 - 2006-12-24 10:34 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
just an update.
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/24 23:33:58.096
Processing End = 2006/12/24 23:33:58.221
Duration = 0000/00/00 00:00:00.125
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 308
_________________________
!

download KiXnet

Top
#171994 - 2006-12-24 11:06 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
k, got it under 3 big ones. \:\)
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/25 00:06:10.767
Processing End = 2006/12/25 00:06:10.876
Duration = 0000/00/00 00:00:00.108
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 299

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
!

download KiXnet

Top
#171995 - 2006-12-24 11:27 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
btw... I don't see response to my query I supposedly asked (and apparently failed to post) about doubleprecision or any other large number thingie.
if the number is larger than double, should the udf still be able to differ it? currently, my code passes the tests but it could fail in some really scientific tests.

KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/25 00:23:14.993
Processing End = 2006/12/25 00:23:15.540
Duration = 0000/00/00 00:00:00.547
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 293

Thank you for participating in KiXgolf!
Press any key to continue...


Edited by Jooel (2006-12-24 11:29 PM)
_________________________
!

download KiXnet

Top
#171996 - 2006-12-25 12:12 AM Re: KiXgolf: Human Sort [Re: Lonkero]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
This is no where as easy as Jens would like us to believe, the fact that I can't even do the basic comparisons with less strokes than what Jooel can complete the task in.....

Oh well Tuesday is another day, my brain hurts
_________________________
Today is the tomorrow you worried about yesterday.

Top
#171997 - 2006-12-25 12:26 AM Re: KiXgolf: Human Sort [Re: Gargoyle]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
hmm...
we have seen working codes get disqualified before too, so don't worry, mine may be one of those even though it passes the tests.
KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/25 01:24:36.608
Processing End = 2006/12/25 01:24:36.795
Duration = 0000/00/00 00:00:00.186
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 288

Thank you for participating in KiXgolf!
Press any key to continue...


[edit]
KiXGolf Score = 286


Edited by Jooel (2006-12-25 12:30 AM)
_________________________
!

download KiXnet

Top
#171999 - 2006-12-25 01:55 AM Re: KiXgolf: Human Sort [Re: Lonkero]
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
How did I miss the announcement for this tourney? No matter, looks like i have some catching up to do.
_________________________
Eric

Top
#172000 - 2006-12-25 09:49 AM Re: KiXgolf: Human Sort [Re: maciep]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
good morning boys.
how's christmas?

KiXtart Version  = 4.53
KiXGolf Script = kixgolf_humansort.kix

Computer
OS = Windows Vista Enterprise Edition
CPU = Intel Pentium Model 13
Speed = 1866 MHz
Memory = 758 MB

KiXGolf Scoring Engine
Scoring Engine = 3.3

KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/25 10:48:38.247
Processing End = 2006/12/25 10:48:38.434
Duration = 0000/00/00 00:00:00.186
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 277

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
!

download KiXnet

Top
#172002 - 2006-12-25 10:21 AM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
Code:
KiXtart Golf Score
Tournament       = KiXtart Golf: Human Sort
Processing Start = 2006/12/25 11:20:12.421
Processing End   = 2006/12/25 11:20:12.617
Duration         = 0000/00/00 00:00:00.195
# Tests Run      = 7
# Tests Passed   = 7
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 274
_________________________
!

download KiXnet

Top
#172015 - 2006-12-25 06:56 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
Code:
the numbers however are almost unconstrained in length

Jooel:

I think that should answer your question. However, I can assure you that I do not have a test that e.g. consists of a string with e.g. 20.000 numeric characters. Though, the solution I came up with would be absolutely blind to such occurrances, anyway.

Not sure what you guys are coding up but the approach I found is actually hinted at in the problem description itself and would not really care about numbers and alpha characters. You could also use all kinds of sorts but a single simple bubblesort would work, too \:\)
_________________________
There are two types of vessels, submarines and targets.

Top
#172016 - 2006-12-25 08:41 PM Re: KiXgolf: Human Sort [Re: Sealeopard]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22343
Loc: OK
but my question is, is 64 byte accuracy enough?
I know there are 2 ways to accomplish this, but depending on your judgement, my current short code would get qualified or disqualified.
_________________________
!

download KiXnet

Top
#172017 - 2006-12-25 10:14 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
Your code is passing the tests, right? I've got another one or two tests in my back pocket and will test all submissions with those two tests as well.

I'm not sure what you mean with 64 bytes precision but the problem states that the numerics can be almost unrestricted in length. So if you can only accomodate 64 consecutive integer characters then that might not be sufficient to pass all tests.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 2 of 8 <12345>Last »


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

Who's Online
0 registered and 197 anonymous users online.
Newest Members
dimi575, Drecksnacken, Nlill, webtools321, multiman
17734 Registered Users

Generated in 0.046 seconds in which 0.014 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