this post was submitted on 06 Mar 2024
319 points (93.2% liked)

Programmer Humor

32495 readers
587 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 8 months ago

Couldve flipped the sign every operation to make it even longer, just make sure you're not off by one or change it while x <= 1000