This commit is contained in:
onyx-and-iris 2024-01-02 09:20:51 +00:00
parent 0f357df19d
commit cacd140961

View File

@ -71,7 +71,7 @@ func two(lines []string) int {
go func(i int) { go func(i int) {
defer wg.Done() defer wg.Done()
mu.Lock() mu.Lock()
seedRanges = append(seedRanges, nextTransform(0, []bound{newBound(seeds[i], seeds[i]+seeds[i+1]-1)})...) seedRanges = append(seedRanges, nextTransform(0, []bound{newBound(seeds[i], seeds[i]+seeds[i+1])})...)
mu.Unlock() mu.Unlock()
}(i) }(i)
} }