Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Fwd: Please Forward: Ruby Quiz Submission
James Gray
2/19/2007 1:22:00 AM
Begin forwarded message:
> From: doug meyer <douglasyman@yahoo.com>
> Date: February 16, 2007 4:09:54 PM CST
> To: submission@rubyquiz.com
> Subject: Please Forward: Ruby Quiz Submission
>
> First Submission to Ruby Quiz, hope it's good
>
> @ticket = (0..8).map{|col| (col*10..(col+1)*10-1).to_a.sort_by{rand}
> [0,3]}
> (0..2).each do |row|
> (0..8).find_all do |i|
> @ticket[i].compact.size > 1
> end.sort_by{rand}[0,4].each do |col|
> @ticket[col][row] = nil
> end
> end
>
>
> I don't mean to say that I have already achieved these things or
> that I have already reached perfection! But I keep working toward
> that day when I will finally be all that Christ Jesus saved me for
> and wants me to be.
> Philip. 3: 12, NLT
>
http://www.iit.edu...
> - Doug Meyer
>
>
> Don't pick lemons.
> See all the new 2007 cars at Yahoo! Autos.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Fwd: Please Forward: Ruby Quiz Submission
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password