update the comment in day 15.1
This commit is contained in:
parent
6758130700
commit
2887274ad9
|
|
@ -88,8 +88,8 @@ let%expect_test "Day 15.1" =
|
||||||
|> Iter.sort_uniq ~cmp:Int.compare
|
|> Iter.sort_uniq ~cmp:Int.compare
|
||||||
in
|
in
|
||||||
(* iterate thru the intersections by ascending x.
|
(* iterate thru the intersections by ascending x.
|
||||||
if a point in the region can be a beacon,
|
if a point in the region between two intersections can be a beacon,
|
||||||
then every point in the region is. *)
|
then every point in the region can be. *)
|
||||||
let rec count_not_beacons count xs =
|
let rec count_not_beacons count xs =
|
||||||
match xs with
|
match xs with
|
||||||
| lx :: hx :: rest ->
|
| lx :: hx :: rest ->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user