i;main(a,k){i<2e3&&main(a?a/10:k<7?k-1?++i:printf("%d\n",i):k,a?k+a%10*(a%10):0);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page