-
-
Save gravityblast/4d2b4d32ff8e22484ed6 to your computer and use it in GitHub Desktop.
#MCC a.k.a. Mikamai Coding Contest: #0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
results = STDIN.read.split(/[\n\r]+/).collect{|line| line.chomp.split("") } | |
results.inject{|sum, p| sum and sum.product(p) or p}.collect(&:flatten).collect(&:join).each do |word| | |
puts word | |
end |
olistik
commented
Mar 23, 2012
Sono curioso di vedere le altre. Me le mandi? :)
…On 23/mar/2012, at 22:55, Maurizio De Magnis ***@***.*** wrote:
![approved](http://www.undcon.com/wp-content/uploads/2011/10/approved.gif)
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/4d2b4d32ff8e22484ed6
ahah, anche te come Giovanni sei un curiosone!
Ma dovrai aspettare fine settimana prossima!
Non ce la faccio. Sto soffrendo.
…On 24/mar/2012, at 09:53, Maurizio De Magnis ***@***.*** wrote:
ahah, anche te come Giovanni sei un curiosone!
Ma dovrai aspettare fine settimana prossima!
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/4d2b4d32ff8e22484ed6
dai va, ti aggiungo nella board di Trello che contiene tutte le soluzioni ;-)
che mail uso per aggiungerti?
franz.andrea@gmail.com
…On 24/mar/2012, at 11:32, Maurizio De Magnis ***@***.*** wrote:
dai va, ti aggiungo nella board di Trello che contiene tutte le soluzioni ;-)
che mail uso per aggiungerti?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/4d2b4d32ff8e22484ed6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment