2020 day5 - ugh off by one w/ funky binary search

This commit is contained in:
alexchao26
2020-12-05 00:32:02 -05:00
parent 3293e9c3e9
commit 88b0ce7593
5 changed files with 972 additions and 25 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func GetWithAOCCookie(url string, cookie string) []byte {
fmt.Println("response length is", len(body))
if strings.HasPrefix(string(body), "Please don't repeatedly") {
// panic("Repeated request github.com/alexchao26/advent-of-code-go error")
panic("Repeated request github.com/alexchao26/advent-of-code-go error")
}
return body