happy number by 51b

n;main(m,l){n<2e3&&main(m?m/10:l<5?n+=l-1||printf("%d\n",n):l,m?l+m%10*(m%10):0);}

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

download

return to the top page