this post was submitted on 17 Jan 2024
414 points (100.0% liked)
196
16443 readers
2205 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sizes of the brackets are just weird: 2, 7, 4, 28 quick fix could be 2, 7, 12, 20
No thats weird too, the brackets should be 1, 1, 2, 3, 5, 8, 13, 21
phine
They're actually ~~3~~ 2 (edit: the first one was right), 8, 5, 29
https://en.m.wikipedia.org/wiki/Off-by-one_error#fencepost_error
Unless I'm mistaken, it should be 2, 8, 5, 29 right?
Whoops, in my haste to notice the fencepost error, I didn't notice the first number was correct!