This commit is contained in:
2022-12-21 11:09:30 +01:00
parent 6e90e2675d
commit dc8232fee3
3 changed files with 256 additions and 0 deletions

14
day21/ex2/main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"aoc2022/day21/common"
"bufio"
"fmt"
"os"
)
func main() {
rootMonkey := common.Parse(*bufio.NewScanner(os.Stdin), true)
fmt.Println(rootMonkey.Invert(0))
}