Add overround.rb

This commit is contained in:
betbetter 2026-11-14 07:36:18 +08:00
parent 83d55c96db
commit fb12fcc86d

3
overround.rb Normal file
View File

@ -0,0 +1,3 @@
def overround(prices)
prices.sum { |p| 1.0 / p }
end