News for hackers. Stuff that matters.
Re:Loop Perforation (2019) by dreamcompiler on Wednesday September 15, 2021 @07:46AM (#28537868)
The way you add the integers up to n is

n(n+1)/2.

Fixed that for you. No loops, and it's exact. Pick a better example.

There are no comments on this comment yet.