Fix tabs
This commit is contained in:
@@ -9,16 +9,16 @@ import (
|
||||
|
||||
func main() {
|
||||
rockStructures := common.Parse(*bufio.NewScanner(os.Stdin))
|
||||
tileMap := common.NewMap()
|
||||
tileMap := common.NewMap()
|
||||
|
||||
for _, rockStructure := range rockStructures {
|
||||
tileMap.AddRockStructure(rockStructure)
|
||||
}
|
||||
for _, rockStructure := range rockStructures {
|
||||
tileMap.AddRockStructure(rockStructure)
|
||||
}
|
||||
|
||||
units := 0
|
||||
for tileMap.DropSand() {
|
||||
units++
|
||||
}
|
||||
units := 0
|
||||
for tileMap.DropSand() {
|
||||
units++
|
||||
}
|
||||
|
||||
fmt.Println(units)
|
||||
fmt.Println(units)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user