Project Euler

Andre Garzia andre at andregarzia.com
Tue Feb 23 13:54:14 EST 2010


Done!

checkout

http://wecode.org/euler

you need RevWeb plugin for that.

Cheers
andre
PS: check the source code to see some uberpretty revlet loading techniques!

On Tue, Feb 23, 2010 at 2:12 PM, Andre Garzia <andre at andregarzia.com> wrote:

> Brian,
>
> this is quite a good idea...
>
> I think we could do a RevLet, this way we could post & execute the stuff.
>
> :D
>
> Let me cook something.
>
> :D
>
>
> On Tue, Feb 23, 2010 at 2:09 PM, Brian Yennie <briany at qldlearning.com>wrote:
>
>> Oooh, oooh!
>>
>> In all seriousness, it would be fun if someone compiled a set of different
>> correct solutions to these problems. What an incredible way of showing
>> people's different coding styles in Rev.
>> (my solution to #2 after the break)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> put 0 into tot
>> put 1 into pre
>> put 2 into fib
>> repeat
>>   if (fib >= 4000000) then exit repeat
>>   if (fib mod 2 = 0) then add fib to tot
>>   put fib into tmp
>>   add pre to fib
>>   put tmp into pre
>> end repeat_______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the Use-livecode mailing list