Page 3 of 8 <12345>Last »
Topic Options
#172018 - 2006-12-25 10:14 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
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
#172022 - 2006-12-26 05:15 AM Re: KiXgolf: Human Sort [Re: Sealeopard]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so I need to build my own tests to really test my code.
understood, will do.

and what comes to the 64 digit number, I have no idea does my code have that limit or something else.
just pulled it from my hat. but, how to be sure about almost non-limited capability?
_________________________
!

download KiXnet

Top
#172028 - 2006-12-26 04:20 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
I think the only limitation to deal with might be the 32.000 character text limitation. Can't have an input string longer than that unless I do some funky stuff which I'm not.
_________________________
There are two types of vessels, submarines and targets.

Top
#172029 - 2006-12-26 04:29 PM Re: KiXgolf: Human Sort [Re: Sealeopard]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, so I need to change my code.
tested with the numbers below and it said they are the same:

"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567891"
_________________________
!

download KiXnet

Top
#172030 - 2006-12-26 05:05 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
damn...
building support for those stupid long numbers has already increased my udf size by 200 strokes and it still does not work totally.
_________________________
!

download KiXnet

Top
#172033 - 2006-12-26 05:54 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
So close yet so far away

Code:

KiXtart
KiXtart Version  = 4.50
KiXGolf Script   = kixgolf_humansort.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 1729 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 09:50:45.244
Processing End   = 2006/12/26 09:50:45.260
Duration         = 0000/00/00 00:00:00.016
# Tests Run      = 7
# Tests Passed   = 0
# Tests Failed   = 7
Result           = failed
KiXGolf Score    = 196
 
Thank you for participating in KiXgolf!


Just needed to show that I am trying - but not there as of yet....
_________________________
Today is the tomorrow you worried about yesterday.

Top
#172035 - 2006-12-26 06:19 PM Re: KiXgolf: Human Sort [Re: Gargoyle]
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Closer
Code:

KiXtart
KiXtart Version  = 4.50
KiXGolf Script   = kixgolf_humansort.kix

Computer
OS               = Windows XP Professional
CPU              = Intel Pentium Model 13
Speed            = 1729 MHz
Memory           = 1024 MB

KiXGolf Scoring Engine
Scoring Engine   = 3.3

KiXtart Golf Score
Tournament       = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 10:16:02.949
Processing End   = 2006/12/26 10:16:02.964
Duration         = 0000/00/00 00:00:00.014
# Tests Run      = 7
# Tests Passed   = 4
# Tests Failed   = 3
Result           = failed
KiXGolf Score    = 142
 
Thank you for participating in KiXgolf!
_________________________
Today is the tomorrow you worried about yesterday.

Top
#172037 - 2006-12-26 08:14 PM Re: KiXgolf: Human Sort [Re: Gargoyle]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
lol.
if you think you are close, I think I'm way far from working.
I hate this stupid unlimited number thingie as I'm not getting my code working with rule.
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/26 21:13:10.371
Processing End = 2006/12/26 21:13:11.059
Duration = 0000/00/00 00:00:00.687
# Tests Run = 7
# Tests Passed = 2
# Tests Failed = 5
Result = failed
KiXGolf Score = 556

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

download KiXnet

Top
#172038 - 2006-12-26 09:06 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, getting close already.
KiXtart Golf Score
Tournament = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 22:05:15.900
Processing End = 2006/12/26 22:05:16.152
Duration = 0000/00/00 00:00:00.252
# Tests Run = 7
# Tests Passed = 6
# Tests Failed = 1
Result = failed
KiXGolf Score = 758
_________________________
!

download KiXnet

Top
#172039 - 2006-12-26 09:16 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
JIHAA!
done.
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/26 22:15:19.148
Processing End = 2006/12/26 22:15:22.146
Duration = 0000/00/00 00:00:02.997
# Tests Run = 7
# Tests Passed = 7
# Tests Failed = 0
Result = passed
KiXGolf Score = 1447

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


but I don't wonder if we don't get that many scores around :p
_________________________
!

download KiXnet

Top
#172041 - 2006-12-26 09:46 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, how about changing the testsuite and adding one of the larger numbers in there?
maybe the ones I provided?

currently your tests don't count for one of the rules given for this round.
_________________________
!

download KiXnet

Top
#172043 - 2006-12-26 09:56 PM Re: KiXgolf: Human Sort [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Personally I disagree and think that if the provided 7 tests PASS then your code should be valid. I don't think it is right to have or hold out with "custom test code". I see that as deceptive which is not the intent of the game (imho).

I think the "Unlimited" is or should be more a figure of speech rather then an iron clad contract to govern the code.

Up to Jens since he is hosting the game, but if so then he should post and CLARIFY with more EXACT details.

.

Top
#172045 - 2006-12-26 10:15 PM Re: KiXgolf: Human Sort [Re: NTDOC]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
YES! It can be done! not very clean but here it is.

Code:
KiXtart Version  = 4.53
KiXGolf Script   = kixgolf_humansort.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       = KiXtart Golf: Human Sort
Processing Start = 2006/12/26 15:07:25.738
Processing End   = 2006/12/26 15:07:25.988
Duration         = 0000/00/00 00:00:00.250
# Tests Run      = 7
# Tests Passed   = 7
# Tests Failed   = 0
Result           = passed
KiXGolf Score    = 587

Thank you for participating in KiXgolf!
Press any key to continue...
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172046 - 2006-12-26 10:26 PM Re: KiXgolf: Human Sort [Re: Benny69]
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
question.

will it need to sort things like.

test
test1
test1a
test1ab
test1ab1
... and so on?

Top
#172047 - 2006-12-26 10:31 PM Re: KiXgolf: Human Sort [Re: Benny69]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
benny, could you try with the attached modified ini?

Attachments
13-kixgolf_humansort.ini (480 downloads)
Description:


_________________________
!

download KiXnet

Top
#172048 - 2006-12-26 10:32 PM Re: KiXgolf: Human Sort [Re: Bryce]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
bryce?
it's a sorter, so it needs to sort.
_________________________
!

download KiXnet

Top
#172049 - 2006-12-26 10:34 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4548
Loc: USA
Jooel... your link no work.
Top
#172050 - 2006-12-26 10:48 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
Jooel,
the linky no worky.

[edit]
looks like Allen beat me to the punch line.
[/edit]


Edited by Benny69 (2006-12-26 10:49 PM)
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
#172051 - 2006-12-26 11:08 PM Re: KiXgolf: Human Sort [Re: Benny69]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sorry, there is something really bad with the board currently.
it has denied me access pretty long. not sure if this post will make it.

if this does, I upload with this one the file again.


Attachments
14-kixgolf_humansort.ini (446 downloads)
Description:


_________________________
!

download KiXnet

Top
#172052 - 2006-12-26 11:11 PM Re: KiXgolf: Human Sort [Re: Lonkero]
Benny69 Offline
Moderator
*****

Registered: 2003-10-29
Posts: 1036
Loc: Lincoln, Ne
nope, if the ini is not too big, can you just post it as code?
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)

Top
Page 3 of 8 <12345>Last »


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

Who's Online
1 registered (Allen) and 566 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.154 seconds in which 0.105 seconds were spent on a total of 16 queries. Zlib compression enabled.

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