rust
E. Almqvist 3 years ago
parent d55ea959e3
commit 185a67c9d1
  1. 2
      lib/math.c

@ -13,7 +13,7 @@ long square(uint num) {
long sum = num - 1; long sum = num - 1;
while(num > 0) { while(num > 0) {
sum += num*2; sum += num*2;
sum--; num--;
} }
return sum + 1; return sum + 1;
} }

Loading…
Cancel
Save