Skip to content

Commit e148473

Browse files
author
Liz Fong-Jones
committed
remove unnecessary slack in our candidacy calculations.
1 parent 5063511 commit e148473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2018/day23.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func main() {
178178
candidates = append(candidates, Candidate{mid, dist})
179179
}
180180

181-
if ranges[loc] < highScore-2 {
181+
if ranges[loc] < highScore {
182182
// This isn't worth bothering with.
183183
continue
184184
} else if ranges[loc] > highScore {

0 commit comments

Comments
 (0)