Mental calculation by not

i;main(a,b,c){for(;~scanf("%d",&c)||i++<97+printf("%d ",c=(a+b)%10);a=c)b=a;}

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

download

return to the top page