int a,i;ask("");for(int b:stdin){for(a=i=1;i<=b;++i)a=(int)(4a-2a/i);write(a);};
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page