Skip to content

Commit

Permalink
delete confusing detail
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 10, 2023
1 parent 951ef6e commit cb251ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/aoc2023/day10/part2.jou
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ def main() -> int:
# = area_inside_loop + loop_length/2 - 1
#
# Here n-m = 4 because the loop goes around a total of 360 degrees
# towards the inside:
#
# 90*n - 90*m = 360
# towards the inside.
printf("%d\n", area_along_middle_of_path + 1 - loop_length/2) # Output: 4

free(input.data)
Expand Down

0 comments on commit cb251ff

Please sign in to comment.