From: Mihi <mihi@diesoeldner.de>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webx
Newsgroups: comp.soft-sys.matlab
Subject: Re: now that was interesting
Message-ID: <ef2fb57.129@webx.raydaftYaTP>
Date: Thu, 13 Apr 2006 11:34:01 -0400
References: <ef2fb57.113@webx.raydaftYaTP> <ef2fb57.118@webx.raydaftYaTP> <ef2fb57.122@webx.raydaftYaTP> <ef2fb57.126@webx.raydaftYaTP> <ef2fb57.127@webx.raydaftYaTP>
Lines: 24
NNTP-Posting-Host: 141.30.240.117
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:344742


The bug is only in the human readable version :) I found it as well,
it happens in rare cases when there are cycles in the list of
clusters. I did a quick fix in the obfuscated versions, which is just
counting the number of steps and stops after 15.

Yi Cao wrote:
>
>
> Mihi wrote:
>>
>> The human readable version of my entries came in at place 20 <http://www.mathworks.com/contest/blockbuster.cgi/view_submission.html?id=31882>
>> and is almost as fast as the obfuscated ones (or am I to stupid
> to
>> obfuscate properly for matlab? :) ).
>>
> Mihi, I found a bug of your above mentioned code. By changing to
> the
> parameter set to match the winning entry, your code will go into an
> infinite loop for case 22 of the test suit. You may wish to look at
> it.
>
> Yi