| MATLAB Central > MATLAB Newsreader > MATLAB Golf Contest: November 4-6, 2003 |
|
|
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Min Poh Date: 3 Nov, 2003 12:01:15 Message: 1 of 164 |
|
Dust off your golf clubs, the next MATLAB programming contest, |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 3 Nov, 2003 18:47:02 Message: 2 of 164 |
|
"Min Poh" <mpoh@mathworks.com> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 3 Nov, 2003 13:24:28 Message: 3 of 164 |
|
Ahh, typos. MALTAB (Uzbekistan) is now MATLAB (Bangladesh). |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: C. Esperto Date: 3 Nov, 2003 19:55:28 Message: 4 of 164 |
|
We are not all americans. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Bob Gilmore Date: 3 Nov, 2003 21:32:47 Message: 5 of 164 |
|
"C. Esperto" <nospam@nospam.net> wrote in message |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Nathan Quinlan Date: 4 Nov, 2003 05:49:13 Message: 6 of 164 |
|
Should be fun. I think the bite-size challenges will be appreciated |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Michael Thomas Date: 4 Nov, 2003 08:22:29 Message: 7 of 164 |
|
Copied from an e-mail: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: j preen Date: 4 Nov, 2003 11:05:27 Message: 8 of 164 |
|
can you please add to the queue display the number of characters in |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Martijn Visser Date: 4 Nov, 2003 11:15:52 Message: 9 of 164 |
|
Does somebody understand why my entry times out after 10 s while the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 11:53:38 Message: 10 of 164 |
|
The current winning entry (Pretty Good) doesn't work for easy cases! |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: MR Keenan Date: 4 Nov, 2003 11:57:40 Message: 11 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 4 Nov, 2003 11:59:49 Message: 12 of 164 |
|
The current winning entry (j1) won't work if values are repeated in |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 12:05:48 Message: 13 of 164 |
|
The next winning entry is giving totally wrong answers!!! |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 4 Nov, 2003 12:05:52 Message: 14 of 164 |
|
Since none of the entries were taking more than a second to run, we |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Ken Crounse Date: 4 Nov, 2003 12:07:19 Message: 15 of 164 |
|
Philip Freeman wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 4 Nov, 2003 12:14:08 Message: 16 of 164 |
|
Ken Crounse wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 4 Nov, 2003 18:16:05 Message: 17 of 164 |
|
"Ken Crounse" <rumpuscat@yahoo.com> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Peter Boettcher Date: 4 Nov, 2003 12:23:21 Message: 18 of 164 |
|
pjacklam@online.no (Peter J. Acklam) writes: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Christopher Cheng Date: 4 Nov, 2003 12:26:03 Message: 19 of 164 |
|
I doubt they will. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 4 Nov, 2003 18:30:49 Message: 20 of 164 |
|
"Christopher Cheng" <chris_cheng@bose.com> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Ned Gulley Date: 4 Nov, 2003 12:32:40 Message: 21 of 164 |
|
Philip Freeman wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Martijn Visser Date: 4 Nov, 2003 12:41:00 Message: 22 of 164 |
|
Matthew Simoneau wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 4 Nov, 2003 12:57:15 Message: 23 of 164 |
|
Peter J. Acklam wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stephan Date: 4 Nov, 2003 12:59:05 Message: 24 of 164 |
|
Even more annoying than having a winning entry that doesn't really |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 13:05:39 Message: 25 of 164 |
|
Stephan wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Guy Shechter Date: 4 Nov, 2003 13:42:44 Message: 26 of 164 |
|
I have to agree with Stephan. Perhaps the Matlab contest people can |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Steven Lord Date: 4 Nov, 2003 14:02:13 Message: 27 of 164 |
|
Guy Shechter wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 4 Nov, 2003 14:13:21 Message: 28 of 164 |
|
An idea for palindrome (but I can't figure out where to go with it) |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 14:25:15 Message: 29 of 164 |
|
Last contests seem to have had much much more special test cases. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: jpreen Date: 4 Nov, 2003 14:37:25 Message: 30 of 164 |
|
Nice one Philip, |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: j Date: 4 Nov, 2003 15:01:27 Message: 31 of 164 |
|
jpreen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 15:03:57 Message: 32 of 164 |
|
jpreen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: j Date: 4 Nov, 2003 15:11:31 Message: 33 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Per Rutquist Date: 4 Nov, 2003 15:23:34 Message: 34 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Heinrich Acker Date: 4 Nov, 2003 15:49:37 Message: 35 of 164 |
|
Why does it take such a long time to process the queue? The typical |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 15:50:57 Message: 36 of 164 |
|
That's a problem of this kind of games. If an error doesn't mind (or |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 16:00:37 Message: 37 of 164 |
|
But it is still nice to have the first working algorithm submitted. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 4 Nov, 2003 16:31:57 Message: 38 of 164 |
|
In addition to the run-time, there are about 10 seconds of overhead |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 4 Nov, 2003 16:39:35 Message: 39 of 164 |
|
Am I the only one who can't submit entries or even reach the contest |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: j Date: 4 Nov, 2003 16:41:10 Message: 40 of 164 |
|
christian ylämäki wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 16:55:46 Message: 41 of 164 |
|
So, are 'they' saying that they don't dare doing (untested) changes |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 17:25:49 Message: 42 of 164 |
|
Maybe we can post submissions here to get a correct timestamp? I'm |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 17:40:07 Message: 43 of 164 |
|
And still trying....... |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 4 Nov, 2003 17:43:01 Message: 44 of 164 |
|
My submissions got sent even if I didn't see the confirmation page. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 17:44:27 Message: 45 of 164 |
|
I just see that the time stamp on this page is also a bit strange |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: wu vincent Date: 4 Nov, 2003 17:53:53 Message: 46 of 164 |
|
I don't know what's going on for the Encryption contest because most |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Per Rutquist Date: 4 Nov, 2003 17:54:07 Message: 47 of 164 |
|
christian ylämäki wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 18:00:30 Message: 48 of 164 |
|
I was sending : |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 18:03:49 Message: 49 of 164 |
|
So, one thing is working there : the time-out (closed). After trying |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: BK Date: 4 Nov, 2003 18:06:36 Message: 50 of 164 |
|
This was mine - it kind of takes advantage of the subtle rule change: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Josh Landau Date: 4 Nov, 2003 18:08:37 Message: 51 of 164 |
|
Yep, time-out is working. Fairly certain this didn't make it into |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 4 Nov, 2003 18:09:12 Message: 52 of 164 |
|
Maybe I must apologize (although...). I thought no submissions were |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Paulo Date: 4 Nov, 2003 18:12:30 Message: 53 of 164 |
|
The queue is really slow... I submitted an entry at about 5:50pm and |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 5 Nov, 2003 00:19:42 Message: 54 of 164 |
|
"wu vincent" <vincent@comp.hkbu.edu.hk> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: vincent Date: 4 Nov, 2003 18:18:12 Message: 55 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Ned Gulley Date: 4 Nov, 2003 18:39:25 Message: 56 of 164 |
|
Peter J. Acklam wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Peter Boettcher Date: 4 Nov, 2003 18:39:27 Message: 57 of 164 |
|
"Josh Landau" <josh@wcbn.org> writes: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Backer Date: 4 Nov, 2003 18:44:54 Message: 58 of 164 |
|
No need for the space exclusion line; this seems to work and is |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Roger Stuckey Date: 4 Nov, 2003 18:48:56 Message: 59 of 164 |
|
Stijn Helsen wrote: |
|
Alex Backer wrote: |
|
And can you have entries with repeated names not bounce? You could |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Ned Gulley Date: 4 Nov, 2003 20:53:15 Message: 62 of 164 |
|
Let me ask the general question: if you have a good problem, a good |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Guy Shechter Date: 4 Nov, 2003 21:01:39 Message: 63 of 164 |
|
> Let me ask the general question: if you have a good problem, a good |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 4 Nov, 2003 21:05:39 Message: 64 of 164 |
|
I think it is good to have this kind of challenge. However, my |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: MR Keenan Date: 4 Nov, 2003 22:50:41 Message: 65 of 164 |
|
I prefer the longer contests. This contest just isn't very |
|
Subject: problem length & scoring method From: Alex Backer Date: 5 Nov, 2003 00:21:21 Message: 66 of 164 |
|
I agree that these problems were not interesting. Given interesting |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 01:47:13 Message: 67 of 164 |
|
I agree with some others. Short, but a little bit more complex |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Per Rutquist Date: 5 Nov, 2003 01:59:54 Message: 68 of 164 |
|
Note that Stijn Helsen's code "Test 14" of 14:21:17 in the second |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 5 Nov, 2003 02:43:25 Message: 69 of 164 |
|
Ned Gulley wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 04:37:13 Message: 70 of 164 |
|
Thanks for spotting that!! It is also a strange error (next to the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 5 Nov, 2003 10:55:17 Message: 71 of 164 |
|
"Ned Gulley" <gulley@mathworks.com> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 5 Nov, 2003 09:46:11 Message: 72 of 164 |
|
Sorry, I misposted the first one. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Peter Boettcher Date: 5 Nov, 2003 09:46:24 Message: 73 of 164 |
|
"Ned Gulley" <gulley@mathworks.com> writes: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 5 Nov, 2003 10:07:37 Message: 74 of 164 |
|
Semicolons don't count anywhere. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 11:08:47 Message: 75 of 164 |
|
It's a pitty that the codes are not included anymore. I suppose it |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 5 Nov, 2003 11:17:33 Message: 76 of 164 |
|
Yes, we pulled the inline code from the "All Entries" page to reduce |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 5 Nov, 2003 11:36:24 Message: 77 of 164 |
|
In hole #2, Stijn Helsen's entry "Test_14" failed when it should have |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 11:57:26 Message: 78 of 164 |
|
With a correct working server the top 3 would have been very |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 5 Nov, 2003 12:04:52 Message: 79 of 164 |
|
Can someone explain to me what this line in FSec4 does? |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alexey Skvortsov Date: 5 Nov, 2003 12:16:40 Message: 80 of 164 |
|
I've submitted my Matrix Lab too late because of I've mistakenly |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Lucio Date: 5 Nov, 2003 12:22:07 Message: 81 of 164 |
|
In fact, 'Matrix Lab' could be further optimized !!!, many of us |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 5 Nov, 2003 12:32:23 Message: 82 of 164 |
|
Never mind, I figured it out. But it does not seem to work in Matlab |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 5 Nov, 2003 14:14:09 Message: 83 of 164 |
|
Strange... The minute counter of these message boxes is stuck to 03. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alexey Skvortsov Date: 5 Nov, 2003 14:21:57 Message: 84 of 164 |
|
We can reduce 91 to 9 in FSec4 and it seems |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 5 Nov, 2003 14:39:49 Message: 85 of 164 |
|
I tried it (Try 12) but it failed with |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 5 Nov, 2003 14:43:11 Message: 86 of 164 |
|
Imre Polik wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 15:02:07 Message: 87 of 164 |
|
Hi, |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: cyclist Date: 5 Nov, 2003 17:11:12 Message: 88 of 164 |
|
On previous holes, I made it onto the leader board, and never dropped |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alexey Skvortsov Date: 5 Nov, 2003 17:22:19 Message: 89 of 164 |
|
It's clear that |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 17:29:24 Message: 90 of 164 |
|
Are you sure? I think it is c(1)*(j+1)^2 (or any other form), and |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 17:32:07 Message: 91 of 164 |
|
I've seen that too now. When I saw later that I wasn't there anymore |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 17:36:59 Message: 92 of 164 |
|
I can't wait for the result, but if "Whatever $\pi$" will win, it's a |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Paulo Date: 5 Nov, 2003 17:50:57 Message: 93 of 164 |
|
I have a suggestion to speed up the determination of the winner. If |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 5 Nov, 2003 17:59:11 Message: 94 of 164 |
|
Can anyone explain me what's the problem with this code? |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 18:00:24 Message: 95 of 164 |
|
Maybe as a first hole? (Because the problem will not be so complex, |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: christian ylämäki Date: 5 Nov, 2003 18:08:05 Message: 96 of 164 |
|
Paulo wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 18:09:55 Message: 97 of 164 |
|
One cause can be if a has zeros, then it can't work. (Here on older |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 18:12:13 Message: 98 of 164 |
|
I wanted to give this suggestion in the beginning of the contest, but |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 5 Nov, 2003 18:16:11 Message: 99 of 164 |
|
Thanks, I missed that one. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Philip Freeman Date: 5 Nov, 2003 18:20:19 Message: 100 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 5 Nov, 2003 18:36:16 Message: 101 of 164 |
|
An example of this is some of the current entries with just the same |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alexey Skvortsov Date: 5 Nov, 2003 18:40:32 Message: 102 of 164 |
|
Tristram Scott's 'Bob8' & 'Bob9' was passed but they can be shortened |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Heinrich Acker Date: 5 Nov, 2003 22:11:00 Message: 103 of 164 |
|
I prefer the longer contests. |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Tristram Scott Date: 6 Nov, 2003 08:59:44 Message: 104 of 164 |
|
Alexey Skvortsov wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Sh_Kilnao Date: 6 Nov, 2003 05:04:41 Message: 105 of 164 |
|
Philip Freeman wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Magnus Eriksson Date: 6 Nov, 2003 06:48:33 Message: 106 of 164 |
|
I missed the contest, but here is a suggestion based on conv2, using |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Matthew Simoneau Date: 6 Nov, 2003 08:57:53 Message: 107 of 164 |
|
Stijn Helsen and cyclist have noticed their entry drop off the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Francois Glineur Date: 6 Nov, 2003 09:26:20 Message: 108 of 164 |
|
Here is a 81-char entry for the "Heaviest" hole : |
|
Hi guys, |
|
Peng wrote: |
|
Actually, it's Euclidean distance between each set of points as |
|
Server "almost down" again??? I "almost can't" get in... |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 6 Nov, 2003 17:29:47 Message: 113 of 164 |
|
Are the servers in trouble again? All I have got the last minutes |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Imre Polik Date: 6 Nov, 2003 11:40:12 Message: 114 of 164 |
|
Same problem. However, the message board link works fast, but my |
|
Subject: Problem with your evaluation code? From: Alex Backer Date: 6 Nov, 2003 12:01:23 Message: 115 of 164 |
|
There's nowhere in the rules that says that the submission has to be |
|
Subject: Problem with your evaluation code? From: Stijn Helsen Date: 6 Nov, 2003 12:24:56 Message: 116 of 164 |
|
I think you should just write a script, which means no recursive |
|
Subject: Problem with your evaluation code? From: JeanPhi Date: 6 Nov, 2003 12:52:39 Message: 117 of 164 |
|
It's actually possible to write a script with recursive function, |
|
Subject: Problem with your evaluation code? From: Stijn Helsen Date: 6 Nov, 2003 13:13:13 Message: 118 of 164 |
|
I don't think eval is allowed. |
|
[having trouble submitting even messages now :) sorry if this is |
|
Not that this affects the positions at all, but there seem to have |
|
I also missed most of contest because I got an important phone |
|
Now that I look at it, that probably wasn't the best choice for an |
|
Nice! |
|
And it can be made shorter!! This version based on yours is only 121. |
|
Sorry, but I just ran it against the test suite, and it does not |
|
Same as its parent...fails the test suite. |
|
Here is a 132-char entry based on my "FG" entry (which does not work |
|
I think Bert just made a tiny mistake. Try this: |
|
That works...at the risk of being a killjoy, I am going to have to |
|
I meant this. But I haven't fully analyzed Bert's code, it's just |
|
Alex wrote: |
|
Alex Backer wrote: |
|
> And it can be made shorter!! This version based on yours is only |
|
Ned Gulley wrote: |
|
"snake" doesn't seem to require you keep track of bifurcations... at |
|
Great Rumpuscat wrote: |
|
I agree, the basic greedy approach (try right then left, down, up) |
|
Forgive me, father, for I have tweaked. |
|
I had an interesting idea yesterday. Try to reverse engineer these |
|
To the Mathworks : will we get again the used testsuites (long) after |
|
Just missed my last attempt at 115 chars: |
|
Whoa! It's over. A bit frustrating with the queue over an hour |
|
With the long queue we can start a sideshow betting who will win. I |
|
Paulo wrote: |
|
Paulo wrote: |
|
Another idea for the snake hole (using matrices) : |
|
This code seems too long. Unfortunately, most top codes are not |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Yi Cao Date: 7 Nov, 2003 06:19:45 Message: 148 of 164 |
|
2-3 hour seems too short to develop a good algorithm. Once a hole |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Niclas Carlsson Date: 7 Nov, 2003 06:24:27 Message: 149 of 164 |
|
Stijn Helsen wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: MR Keenan Date: 7 Nov, 2003 09:20:45 Message: 150 of 164 |
|
I think this is an interesting idea. I would prefer 1 or 2 days (or |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Michael Thomas Date: 7 Nov, 2003 09:27:08 Message: 151 of 164 |
|
As promised, the code to generate the full testsuites for each of the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Stijn Helsen Date: 7 Nov, 2003 10:05:53 Message: 152 of 164 |
|
If you have to start twisting other's code from the beginning, how |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 7 Nov, 2003 12:06:12 Message: 153 of 164 |
|
I agree with Stijn, 2-3 hours seems like a good length, and the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 7 Nov, 2003 12:44:12 Message: 154 of 164 |
|
Rereading a post by Ned during the April contest, I can see the |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Peter Boettcher Date: 7 Nov, 2003 12:48:31 Message: 155 of 164 |
|
"Stijn Helsen" <SHelsenaaa___aaa@abc__compuserve.com> writes: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 8 Nov, 2003 11:58:20 Message: 156 of 164 |
|
"Stijn Helsen" <SHelsenaaa___aaa@abc__compuserve.com> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 8 Nov, 2003 12:12:02 Message: 157 of 164 |
|
Alex <alex@caltech.edu> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 8 Nov, 2003 12:20:17 Message: 158 of 164 |
|
Peter Boettcher <boettcher@ll.mit.edu> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 8 Nov, 2003 12:24:16 Message: 159 of 164 |
|
Peter J. Acklam wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 8 Nov, 2003 12:38:11 Message: 160 of 164 |
|
Peter J. Acklam wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 8 Nov, 2003 12:41:18 Message: 161 of 164 |
|
Peter J. Acklam wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 8 Nov, 2003 21:19:51 Message: 162 of 164 |
|
Alex <alex@caltech.edu> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: pjacklam@online.no (Peter J. Acklam) Date: 8 Nov, 2003 21:31:25 Message: 163 of 164 |
|
Alex <alex@caltech.edu> wrote: |
|
Subject: MATLAB Golf Contest: November 4-6, 2003 From: Alex Date: 8 Nov, 2003 18:12:21 Message: 164 of 164 |
|
Peter J. Acklam wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| contest | Helen Chen | 18 Sep, 2007 13:16:09 |
