[2020][ruby][16] removed commented out code

pull/2/head
Alpha Chen 4 years ago
parent f40f2356d3
commit 969f06d4d0

@ -50,16 +50,3 @@ p order
.map(&:first) .map(&:first)
.map {|i| mine[i] } .map {|i| mine[i] }
.inject(&:*) .inject(&:*)
# order = rules.to_a.permutation(rules.size)
# }.find {|order|
# order.map(&:last).each.with_index.all? {|values,i|
# nearby.all? {|n|
# values.any? {|range| range.cover?(n[i]) }
# }
# }
# }
# p order.map(&:first).zip(mine).select {|o,_|
# o.start_with?("departure")
# }.inject {|a,b| a * b }

Loading…
Cancel
Save