updated repo layout
This commit is contained in:
parent
9f4bdcf271
commit
90bc7c683d
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
gamma, epsilon := findGammaAndEpsilon(content)
|
gamma, epsilon := findGammaAndEpsilon(content)
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
|
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
oxygen, carbon := findOxygenAndCarbon(content, 0)
|
oxygen, carbon := findOxygenAndCarbon(content, 0)
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
boards, nums := loadBoards(content)
|
boards, nums := loadBoards(content)
|
||||||
fmt.Println(run(boards, nums))
|
fmt.Println(run(boards, nums))
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
boards, nums := loadBoards(content)
|
boards, nums := loadBoards(content)
|
||||||
fmt.Println(run(boards, nums))
|
fmt.Println(run(boards, nums))
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
gameMap := [1000][1000]int{}
|
gameMap := [1000][1000]int{}
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
gameMap := [1000][1000]int{}
|
gameMap := [1000][1000]int{}
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
list := mergeSort((*content), 0, len(*content)-1)
|
list := mergeSort((*content), 0, len(*content)-1)
|
||||||
|
|
@ -11,7 +11,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
crabs := mergeSort(*content, 0, len(*content)-1)
|
crabs := mergeSort(*content, 0, len(*content)-1)
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
matches := 0
|
matches := 0
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
//Assisted Solution
|
//Assisted Solution
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
answer := 0
|
answer := 0
|
||||||
|
|
||||||
for y, row := range *content {
|
for y, row := range *content {
|
@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
var bracketMap map[byte]byte = make(map[byte]byte)
|
var bracketMap map[byte]byte = make(map[byte]byte)
|
||||||
var bracketCost map[byte]int = make(map[byte]int)
|
var bracketCost map[byte]int = make(map[byte]int)
|
@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
var bracketMap map[byte]byte = make(map[byte]byte)
|
var bracketMap map[byte]byte = make(map[byte]byte)
|
||||||
var reverseBracketMap map[byte]byte = make(map[byte]byte)
|
var reverseBracketMap map[byte]byte = make(map[byte]byte)
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
octopuses := map[Coordinate]int{}
|
octopuses := map[Coordinate]int{}
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
octopuses := map[Coordinate]int{}
|
octopuses := map[Coordinate]int{}
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
findEnd("", "start", *content, []string{"start"})
|
findEnd("", "start", *content, []string{"start"})
|
||||||
fmt.Println(counter)
|
fmt.Println(counter)
|
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
findEnd("", "start", *content, []string{"start"}, true)
|
findEnd("", "start", *content, []string{"start"}, true)
|
||||||
fmt.Println(counter)
|
fmt.Println(counter)
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
sheet := make(map[Coordinate]bool)
|
sheet := make(map[Coordinate]bool)
|
||||||
answer := 0
|
answer := 0
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
|
|
||||||
sheet := make(map[Coordinate]bool)
|
sheet := make(map[Coordinate]bool)
|
||||||
//var answer string
|
//var answer string
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
content := returnContent("../input")
|
content := returnContent("../input")
|
||||||
//content := returnContent("testInput")
|
//content := returnContent("../testInput")
|
||||||
fmt.Println(content)
|
fmt.Println(content)
|
||||||
|
|
||||||
startingString := (*content)[0]
|
startingString := (*content)[0]
|
Loading…
Reference in New Issue
Block a user