Sum of Divisors for OCaml Golf Competition by inaniwa

while a=scanf("%d",1)b=1:a;printf("%d: %d\n",a,sum(b((c=a./b)==fix(c))))end

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

download

return to the top page