diff options
-rwxr-xr-x | gcd.rb | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -8,7 +8,6 @@ def gcd2 a, b end end -# http://railspikes.com/2008/8/11/understanding-map-and-reduce def gcdn ns ns.reduce{ |a, b| gcd2 a, b } end |
index : gcd | ||
The Greatest Common Divisor in many languages and tools | Igor Pashev |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | gcd.rb | 1 |
@@ -8,7 +8,6 @@ def gcd2 a, b end end -# http://railspikes.com/2008/8/11/understanding-map-and-reduce def gcdn ns ns.reduce{ |a, b| gcd2 a, b } end |