Sum of Divisors for OCaml Golf Competition by *yuko*

1 read*,n;k=0;do i=1,n;k=k+i*0**mod(n,i);enddo;print'(i0": "i0)',n,k;goto1;end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page