Subfactorial FIXED by hallvabo

import java.math.*;enum S{S;int n;{for(BigInteger c,p=BigInteger.ZERO;n<51;n++,p=c)System.out.println(c=p.multiply(new BigInteger(n+"")).add(new BigInteger(1-n%2*2+"")));}}

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

download

return to the top page