Page 6 of 7 « First<34567>
Topic Options
#101434 - 2003-05-29 06:10 PM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
think that you guys started from different angle.
I got 5/9 with just 300 strokes but getting more doubles it each time.

I'm already at 800 and still have 6/9.

looking to skipping this first round as don't want to keep making too much logic...
doh, this is golf, not logical match [Wink]
_________________________
!

download KiXnet

Top
#101435 - 2003-05-29 06:16 PM Re: KiXgolf: MOAN - Mother Of All Networks
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Part of Golf is how to hit the ball to reach the target. [Smile]

I can tell you my approach, so far everything is being done with the binary representations of IP addresses. I just have the IP address array left to be coded but already have a rough idea how to solve that one.

Then it's down to consolidating code fragments to make them shorter and reduce the number and length or variables.

I also do not see anything complicated in there, a couple of binary ANDs and knowing what patterns to look for in a binary IP format.

Just be aware that the second round is shortened and only goes from Friday afternoon to Wednesday afternoon.
_________________________
There are two types of vessels, submarines and targets.

Top
#101436 - 2003-05-29 08:59 PM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
doh, I have everything coded in binary but still have problems in the logic.
if I don't shorthen the variables, I have only 20 more strokes than my best shortened code.

what comes to binary, kixtart has total lack of binary functioning thus it's all about number and string manipulation rather than kixtart usage.
_________________________
!

download KiXnet

Top
#101437 - 2003-05-30 01:28 AM Re: KiXgolf: MOAN - Mother Of All Networks
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
TODO: IPnumbers

So Far I Got:

code:
KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 01:33:09.296
Processing End = 2003/05/30 01:33:09.326
Duration = 0000/00/00 00:00:00.029
# Loops = 1
KiXGolf Result = failed (7 out of 9 correct)
KiXGolf Score = 794

Thank you for participating in KiXtart Golf!

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#101438 - 2003-05-30 02:21 AM Re: KiXgolf: MOAN - Mother Of All Networks
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Little bit if cheating [Big Grin]

IP section only works for C class for now...

code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows XP Professional
CPU = Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Speed = 1196 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 02:24:40.551
Processing End = 2003/05/30 02:24:40.591
Duration = 0000/00/00 00:00:00.040
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 1060

Thank you for participating in KiXtart Golf!

_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#101439 - 2003-05-30 03:09 AM Re: KiXgolf: MOAN - Mother Of All Networks
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.KIX

Computer
OS = Windows 2000 Server
CPU = Intel Pentium III
Speed = 1000 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/29 21:16:11.084
Processing End = 2003/05/29 21:16:11.135
Duration = 0000/00/00 00:00:00.050
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 2112

Thank you for participating in KiXtart Golf!

I know, it's not stellar but I only spend about five hours of work on it and I haven't even started optimizing it. It does satisfy all conditions and should even be able to handle bogus data.
_________________________
There are two types of vessels, submarines and targets.

Top
#101440 - 2003-05-30 03:23 AM Re: KiXgolf: MOAN - Mother Of All Networks
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
And the Golfers hit the fairway [Cool] I decided to try to write another solution utilizing a different approach. We'll see what happens.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#101441 - 2003-05-30 05:14 AM Re: KiXgolf: MOAN - Mother Of All Networks
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.KIX

Computer
OS = Windows 2000 Server
CPU = Intel Pentium III
Speed = 1000 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/29 23:20:29.266
Processing End = 2003/05/29 23:20:29.316
Duration = 0000/00/00 00:00:00.050
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 1247

Thank you for participating in KiXtart Golf!

I'm done for this round. There's no way I can still improve this score.
_________________________
There are two types of vessels, submarines and targets.

Top
#101442 - 2003-05-30 11:26 AM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I decided to compine my methods into one udf.
thus got a result of:
code:
 
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 12:33:22.597
Processing End = 2003/05/30 12:33:22.777
Duration = 0000/00/00 00:00:00.180
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 904

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#101443 - 2003-05-30 11:37 AM Re: KiXgolf: MOAN - Mother Of All Networks
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
The rules actually require a single UDF, one of the reasons I didn't look at coding as it makes the whole thing far more complicated and I knew I wouldn't get time to get a working result:

quote:
All functionality of the UDF must be contained within the FUNCTION/ENDFUNCTION commands. You are not allowed to call code located outside the UDF.
quote:
  • The UDF should be self-contained (except for any I/O mentioned in the challenge). In particular, you may not do things like fetching extra data from a remote site.
  • You are not allowed to use additional code that is external to the MOAN UDF. All code must be contained within the MOAN UDF.


Top
#101444 - 2003-05-30 11:55 AM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure that this actually works but the it passes the tests and am happy about that [Wink]

code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 13:01:55.310
Processing End = 2003/05/30 13:01:55.420
Duration = 0000/00/00 00:00:00.110
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 874

Thank you for participating in KiXtart Golf!

_________________________
!

download KiXnet

Top
#101445 - 2003-05-31 12:04 AM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
btw, if not sub udf's are allowed anymore, my score is false as have one.
_________________________
!

download KiXnet

Top
#101446 - 2003-05-31 12:26 AM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the question still remains...

anyway, hoby, start coding:

code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 13:34:10.793
Processing End = 2003/05/30 13:34:10.923
Duration = 0000/00/00 00:00:00.130
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 832

Thank you for participating in KiXtart Golf!

w00t...
quote:

KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 829



[ 30. May 2003, 12:34: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#101447 - 2003-05-31 12:41 AM Re: KiXgolf: MOAN - Mother Of All Networks
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Now you do this when I have to go to work! [Frown] There should be a rule against posting a better score when I have to go to work. [Big Grin]

Crap!
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#101448 - 2003-05-31 12:43 AM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
are you at home already?
quote:

KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 13:50:22.790
Processing End = 2003/05/30 13:50:22.961
Duration = 0000/00/00 00:00:00.171
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 826

uhm, still found something...
quote:

KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 13:54:53.189
Processing End = 2003/05/30 13:54:53.289
Duration = 0000/00/00 00:00:00.099
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 823

Thank you for participating in KiXtart Golf!



[ 30. May 2003, 12:48: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#101449 - 2003-05-30 01:17 PM Re: KiXgolf: MOAN - Mother Of All Networks
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I am not out of this yet! Just a little more to go [Razz]
code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 698 MHz
Memory = 512 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 07:24:23.255
Processing End = 2003/05/30 07:24:23.345
Duration = 0000/00/00 00:00:00.090
# Loops = 1
KiXGolf Result = passed (10 out of 10 correct)
KiXGolf Score = 836

Thank you for participating in KiXtart Golf!

_________________________
Home page: http://www.kixhelp.com/hb/

Top
#101450 - 2003-05-30 01:21 PM Re: KiXgolf: MOAN - Mother Of All Networks
Jochen Administrator Offline
KiX Supporter
*****

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

just sitting here and watch the course (as always [Roll Eyes] )

How did you manage to get a result of '10 out of 10' while all others have '9 of 9' (or even SevenOfNine) [Confused] [Confused] [Confused]
_________________________



Top
#101451 - 2003-05-30 01:27 PM Re: KiXgolf: MOAN - Mother Of All Networks
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
SevenOfNine sure would be my preference...but I added a test for the hell of it. [Big Grin]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#101452 - 2003-05-30 01:28 PM Re: KiXgolf: MOAN - Mother Of All Networks
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure...
but if /31 is proper mask then also x.x.x.255 is proper ip.
that brings me to:

code:
KiXtart
KiXtart Version = 4.21
KiXGolf Script = kixgolf_moan.kix

Computer
OS = Windows 2000 Professional
CPU = Intel Pentium III
Speed = 797 MHz
Memory = 376 MB

KiXGolf Scoring Engine
Scoring Engine = 3.0.3

KiXtart Golf Score
Tournament = KiXtart Golf: MOAN - Mother Of All Networks
Processing Start = 2003/05/30 14:31:47.794
Processing End = 2003/05/30 14:31:47.924
Duration = 0000/00/00 00:00:00.129
# Loops = 1
KiXGolf Result = passed (9 out of 9 correct)
KiXGolf Score = 814

Thank you for participating in KiXtart Golf!

please do correct me if I'm wrong...
also did some fixing to this version otherwise would be lower (found a buggie)
_________________________
!

download KiXnet

Top
#101453 - 2003-05-30 01:30 PM Re: KiXgolf: MOAN - Mother Of All Networks
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Argh...I can't keep up [Mad]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 6 of 7 « First<34567>


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

Who's Online
0 registered and 273 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.083 seconds in which 0.032 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