[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Four Fours

James Gray

12/2/2006 4:45:00 AM

On Dec 1, 2006, at 8:24 PM, Hung Dao wrote:

> First , please have a look at this :
> http://www.carljohansen.co.uk/... or google for the terms "four
> fours"
> I do not know C sharp ,so that i cant read the solution in that
> page , but
> my idea is that I will subtitude every operator + - * / until I get
> the
> result in a recursive way , but it will take a long time and CPU usage
>
> Do you know any solution for this in the most rubish way

Some of the techniques used in solving this Ruby Quiz could be
helpful with your problem:

http://www.rubyquiz.com/...

James Edward Gray II