Rolling division by nn

main(a){for(scanf("%d",&a),a+=a+a%2;a-1;a=a+a%4/3>>1)printf("%.1f\n",a/2.);}

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

download

return to the top page