Demo entry 6641355

bad code

   

Submitted by anonymous on Sep 18, 2017 at 05:54
Language: C. Code size: 108 Bytes.

int sum(unsigned i) {
	unsigned answer = 0;
	for (; i >= 0; i--) {
		answer += i;
	}
	return answer;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).