You're viewing a single thread.
All Comments
42 comments
key @lemmy.keychat.org
Sizes of the brackets are just weird: 2, 7, 4, 28 quick fix could be 2, 7, 12, 20
10 0 ReplyLSDpoem @lemmy.world No thats weird too, the brackets should be 1, 1, 2, 3, 5, 8, 13, 21
6 0 Replykey @lemmy.keychat.org
phine
2 0 Reply
HonoraryMancunian @lemmy.world OP 2, 7, 4, 28
They're actually
32 (edit: the first one was right), 8, 5, 29https://en.m.wikipedia.org/wiki/Off-by-one_error#fencepost_error
5 0 Replyoptissima @lemmy.ml Unless I'm mistaken, it should be 2, 8, 5, 29 right?
6 0 ReplyHonoraryMancunian @lemmy.world OP Whoops, in my haste to notice the fencepost error, I didn't notice the first number was correct!
7 0 Reply
42 comments
Scroll to top