* benchmark/bm_so_meteor_contest.rb: [DOC] Fix typo
s/accross/across/ [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
42d491cd1b
commit
fb725a20e2
@ -326,7 +326,7 @@ end
|
|||||||
# The exact procedure is described in-code
|
# The exact procedure is described in-code
|
||||||
def prunable( board, location, slotting = false)
|
def prunable( board, location, slotting = false)
|
||||||
collectors = []
|
collectors = []
|
||||||
# loop accross the rows
|
# loop across the rows
|
||||||
(location / 6).to_i.upto(9) do | row_on |
|
(location / 6).to_i.upto(9) do | row_on |
|
||||||
# obtain a set of regions representing the bits of the curent row.
|
# obtain a set of regions representing the bits of the curent row.
|
||||||
regions = $regions[(board >> (row_on * 6)) & 0b11111]
|
regions = $regions[(board >> (row_on * 6)) & 0b11111]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user