-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Benjamin Hesmans <[email protected]>
- Loading branch information
Showing
3 changed files
with
276 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
package main | ||
|
||
import ( | ||
"bufio" | ||
"fmt" | ||
"os" | ||
"reflect" | ||
) | ||
|
||
func panicOnError(e error) { | ||
if e != nil { | ||
panic(e) | ||
} | ||
} | ||
|
||
type seats struct { | ||
rows []string | ||
count int | ||
rule int | ||
} | ||
|
||
const ( | ||
rule1 = iota | ||
rule2 | ||
) | ||
|
||
func readInput(inputName string) seats { | ||
file, err := os.Open(inputName) | ||
panicOnError(err) | ||
defer file.Close() | ||
|
||
s := seats{} | ||
|
||
scanner := bufio.NewScanner(file) | ||
for scanner.Scan() { | ||
l := scanner.Text() | ||
s.rows = append(s.rows, l) | ||
} | ||
|
||
err = scanner.Err() | ||
panicOnError(err) | ||
|
||
return s | ||
} | ||
|
||
func (s seats) outOfBonds(x, y int) bool { | ||
return x < 0 || y < 0 || x >= len(s.rows[0]) || y >= len(s.rows) | ||
} | ||
|
||
func (s seats) occupiedDir(x, y, dx, dy int) bool { | ||
for x, y := x+dx, y+dy; !s.outOfBonds(x, y); x, y = x+dx, y+dy { | ||
if s.rows[y][x] == 'L' { | ||
return false | ||
} | ||
if s.rows[y][x] == '#' { | ||
return true | ||
} | ||
} | ||
|
||
return false | ||
} | ||
|
||
func (s seats) occupied(x, y int) bool { | ||
if s.outOfBonds(x, y) { | ||
return false | ||
} | ||
|
||
return s.rows[y][x] == '#' | ||
} | ||
|
||
func (s seats) arround(x, y int) int { | ||
ret := 0 | ||
for i := -1; i < 2; i++ { | ||
for j := -1; j < 2; j++ { | ||
if i == 0 && j == 0 { | ||
continue | ||
} | ||
occ := false | ||
if s.rule == rule1 { | ||
occ = s.occupied(x+i, y+j) | ||
} else { | ||
occ = s.occupiedDir(x, y, i, j) | ||
} | ||
if occ { | ||
ret++ | ||
} | ||
} | ||
} | ||
return ret | ||
} | ||
|
||
func (s seats) stepFor(x, y int) byte { | ||
if s.rows[y][x] == '.' { | ||
return '.' | ||
} | ||
|
||
occ := s.occupied(x, y) | ||
arr := s.arround(x, y) | ||
|
||
max := 0 | ||
if s.rule == rule1 { | ||
max = 4 | ||
} else { | ||
max = 5 | ||
} | ||
|
||
if occ && arr >= max { | ||
return 'L' | ||
} | ||
|
||
if !occ && arr == 0 { | ||
return '#' | ||
} | ||
|
||
return s.rows[y][x] | ||
} | ||
|
||
func (s seats) step() seats { | ||
ns := seats{rule: s.rule} | ||
for i := range s.rows { | ||
nr := "" | ||
for j := range s.rows[i] { | ||
status := s.stepFor(j, i) | ||
nr += string(status) | ||
if status == '#' { | ||
ns.count++ | ||
} | ||
} | ||
ns.rows = append(ns.rows, nr) | ||
} | ||
return ns | ||
} | ||
|
||
func part1(s seats) int { | ||
// | ||
// Use string to compare states, kind of hacky | ||
// | ||
// prec := "" | ||
// cur := fmt.Sprintf("%#v", s) | ||
// for prec != cur { | ||
// prec = cur | ||
// s = s.step() | ||
// cur = fmt.Sprintf("%#v", s) | ||
// } | ||
// return s.count | ||
|
||
// Or use DeepEqual | ||
prec := seats{} | ||
cur := s | ||
for !reflect.DeepEqual(prec, cur) { | ||
prec = cur | ||
cur = cur.step() | ||
} | ||
|
||
return cur.count | ||
} | ||
|
||
func part2(s seats) int { | ||
s.rule = rule2 | ||
return part1(s) | ||
} | ||
|
||
func main() { | ||
fmt.Println("Hello") | ||
// s := readInput("small_input.txt") | ||
s := readInput("input.txt") | ||
fmt.Printf("%#v\n", part1(s)) | ||
fmt.Printf("%#v\n", part2(s)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
LLLLLLLLL.LLLLL.LLLLL.LLLL.LLLLLL.LL.LLLLLLLLLLLLL.LLLLLL.LLLLLLLLLLLLLLL.LLLL.LLLL.LLLL.LLLLL | ||
LLLLLLLLL.LLLLL.LLLLL.LLLLLLLL.LLLLL.LLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL.LLL.LLLL.LLLLLLLLLLLLLLL | ||
LLLLLLLLL.LLLLL.LLLLL.LLLLLLLLLLLLL..LLLLLLL..LLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLLLLLL.LLLLLLLLLLLLLLLL.LL.LLLLL.LLLLLLLLLLLLLLLLLLLLL..LLLLLLLLLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLLLLLL.LLLLLLLLLLL..LLL.LLLLLLLLLLLLLLL.LLLLLLL.LLLLLL.LLLLLLLLLLLLL.L.LL.L..LLLLL.LLLLLLLL | ||
LLLLLLLLL.LLLLLLLLLLL.LLLL.LLL.LLLLL.LLLLLLLL.LL.L.LLLLLL..LL.LLLLLL.LLLL..LLL.LLLLLL.LLLLLL.L | ||
LLLLLLLL..LLLLL.LLLLL.LLLL.LLLLLLLLLLLLLLL.LLLLLLL.LL.LLL.LLLLLLLLLLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLLLLLLLLLLLLLLLLLL.LLL..LLLLLL.LL.LLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLL.LLLLLLLLL.LLLLLLLLLL | ||
.LLL..L..........L.LL.LL..L..L.....L.....L.....L..L..L....L..L..LL..L.L..L..LLL..LL...L.LLLLL. | ||
.LLLLLLLL.LL.L.LLLLLL.LLL..LLLLLLLLL.LLLLLLLLL.LLL.LLLLLLLLLL.L.L.LLLLLLLLLLLL.LLLLLLLLLLLLLLL | ||
LLL.LLLLL.LLL.L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LLLLLLL.LLLL.LLLLLLLLLLLLLLLLLL.LLLL.LLLLLL.LLLLLLLLL.LLLLL.LLLLLLLL.LLLLLLLLLLL | ||
...L......L.L...L...L...LL..LL..LLLL..L....LLLL....L...L.L.....LL..LL...LL........LL..L.L...LL | ||
LLLLLLLLLLLLLLL.LLLLL.LLLL.LLLLLLLLL.LL.LLLLL.LLLLLLLLLLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLLLLLL.LLLLLLLL..LLL.LLLL.L | ||
LLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLLLLL.LLLLLLLL.LLLL.LLLLLL.LLLLLLL.LLLLLLL.LLLLLLLLL.LLLLLLL.LL | ||
LLLLLLLLLLLLLLL.LLLLLLLLLLLLLLLLLLLLLL.LL.LLL.L.LLLLLLLLL.LLLLLLLLLLLLLLLLLLLL.LLLL.LLLLLLLLLL | ||
..L.L..LL.....L....LL.L.L.L..LLL......L..LLL..L..L....LL..L.LLL..L.....LL.L.L...........L..L.. | ||
LLLLLLLLLLLLLL.L.LLLL.LLLL.LL.LLLLLL.LLLLLLL..LLLL.LLLLLL.LLLLLLLLLLLLLLL.LLLL.LLLL.LLLLLL.L.L | ||
.LLLLLLLL.L.LLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLL.LLLLLLLLL.LLLLLLLLLL | ||
LLL.LLLLLLLLLLLLLLLLL.LLLLLLLLLLLLLL.LLL.LLLLLLLLL.LL.LLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLL. | ||
..LLLLLLL.LLLLLLLLLLL.LLLL.LLLLLLLLL.LLLLLLLL.LLLLLLLLLLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
.L..L..LL..L.L.L.L...L..LL............L..LL..LL.L.L.........LL.....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LLLLLLLLLLLLLL | ||
LLLLLLLLL.LL..LLLLLLLLLLLL.LLLLLLLLLLLLLLLLLL.LLLL.LLLLLLL.LLLLL..LLLLLLL.LLLLLLLLL.LLLLLLL.LL | ||
.LL..L..L..LLL...L..LL.L...LL..L.....L.L...L.L...L.L..L.L........L.L..L.L..L....L.....L..L..LL | ||
LLLLLLLLL.LLLLLLLLLL..LLLL.LLLLLLLLL.LLLLLLLL.LLLL.LLLLLL.LLLLLLLLLLLLLLL.LLLL.LL.L.LL.LLLLLLL | ||
LLLLLLLLL.LLL.L.LLLLLLLLLL.L.LLLLLLLLLLLLLLLLLLLLL.LL.LLL.LLLLLLL.LLLLL.LLL.LL.LLLL.LLLLLLLLLL | ||
LLLLLLLLLLLLLLLLLLLLL.LLLL.LLLLLLLLL.LLLLLLL.LLLLL.LLLLLL.LLLLLLL..LL.LLLLLLLLLLLLL.LLLLLLLLLL | ||
LLLLLLLLL.LLLLL.LLLLLLLLLLLLLLLLLL.LLLLLLLLLL.LLLLLLLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLL.LLLLLLLLLL | ||
LLL.LLLLLLLL.LL.LLLLL.LLLL.LLLLLLLL.LLLLLLLLL.LLLL.LLLLLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLLLLLL.LLLLL.LLLLL.LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
..L....L........L....LL..L...LL.L.....L.LL.L..L....L....LL......L.L.....L.L..LL..L.....L.LLL.L | ||
LLLLLLLLL.LLLLL.LLLLL.LLLL.LLLLLLLLL.LLLLLLLL.LLLL.LLLLLL.LLLLLLLLLLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LLLLL.LLLL.LLLLLLLLLL.LLLL.L.LLLLLLL.LLLLLLLL.LLLL.L.LLLL.LLLLLLLLLLLLLLLLLLLLLLLL..LLLLLLLLLL | ||
LL.LLLL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
LLLLLLLL..LLLLLLLLLLL.L.LLLLLLLLLLLLLLLLLLLLLLLLLL.LLLLLL.LLLLLLL..LL.LLLLLL.L..LLL.LLLLLLLLLL | ||
LLLLLLLLLLLLLLL.LLLLL.LLLL.LLLLLLLLL.LLLLLLLL.LLLLLLLLLLLLLLLLLLL.LLLLLLL.LLLL.LLLL.L.LLLLLLLL | ||
.L....L.LL...L...LL......LL..........L.LLL...L...L..........L.........LL..L.L.L...L..L........ | ||
LLLLLLLLL.LLLLLLLLL.L.LLLL.LLLLLLLLL.LLLLLLLLLLLLL.LLLLLL.LLLLLLL.LLLLLLLLLLLL.LLLL..LLLLLLLLL | ||
LLLLLLLLL.LLLLL.LL.LL.LLLL.LLLL.LLLL.LLLLLLLL.LLLL.LLLLLL.LLLLLLL.LLLLLLL.LLLL.LLLL.LLLLLLLLLL | ||
LL.LLLLLL.LLLLL.LLLLL.LLLL.LL.LLLLLL.LLLLL.LL.LLLL.LLLLLLLLLLLLLL.LLLLLLLLLLLL.LLLLL.LLLLLLLLL | ||
LLLLLLLLL.LLLLL.LLLLL.LLLL.LLLLLLLLL.LL.LLLLL.LLLL.LL.LLLLLL.LLLL.LLLLLLL.LLLLLLLLLLLLLLLLL.LL | ||
LLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLL.LLLLLLLLLLL..LLL.LLLLLL.LLLLLLL.LLLLLLL.LLLL.LL.LLLLLLLLLLLL | ||
LLLLLLLLLL.L.LL.LLLLL.LLLL.LLLLLLLLLLLLLLLLLL.LLLL.LLLLLL.LLLLLLL.L.LLLLL.LLLL.LLLLLLLLLLLLLLL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
L.LL.LL.LL | ||
LLLLLLL.LL | ||
L.L.L..L.. | ||
LLLL.LL.LL | ||
L.LL.LL.LL | ||
L.LLLLL.LL | ||
..L.L..... | ||
LLLLLLLLLL | ||
L.LLLLLL.L | ||
L.LLLLL.LL |