An interesting programming challenge

Jerry Jensen jhj at jhj.com
Thu Apr 9 22:04:30 EDT 2015


> On Apr 9, 2015, at 3:33 PM, Geoff Canyon <gcanyon at gmail.com> wrote:
> 
> https://brilliant.org/problems/the-clever-cat/?group=sigjT0HDmvgp&ref_id=713367
> 
> Happy to say that the code I wrote gave the correct answer the first time,
> so yay.
> 
> I'll post my solution in a reply to make it easier to avoid spoilers in
> case anyone wants to try it themselves.
> 
> gc

Just for fun, I tried my solution on LC 5.4.5 with all else being equal:
LC 6.7.4 around 100 msec
LC 5.5.4 around 115 msec
Both those numbers varied around +/- 5 msec on multiple runs.
.Jerry





More information about the Use-livecode mailing list