t(x,y,z){return x>y?t(t(x-5,y,z),t(y-5,z,x),t(z-5,x,y)):z;}main(x,y,z){for(;~scanf("%d%d%d",&x,&y,&z);)printf("%d\n",t(x,y,z));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page