Skip to content

Commit cc04afb

Browse files
committed
4b
1 parent 75dbae1 commit cc04afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

4/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func main() {
3131
}
3232
pairs := strings.Split(pair, ",")
3333
l1, h1, l2, h2 := getLowsAndHighs(pairs)
34-
if l1 >= l2 && h1 <= h2 || l2 >= l1 && h2 <= h1 {
34+
if l1 >= l2 && l1 <= h2 || l2 >= l1 && l2 <= h1 {
3535
count += 1
3636
}
3737
}

0 commit comments

Comments
 (0)