main(x,y){for(;~scanf("%d%d",&x,&y);printf("%.0f\n",round((sqrt(4*x*x+3*y*y)-x)/3)));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page