Tak z _FIXED_ by komono

import std.stdio;void main(){int f(int x,int y,int z){return x>y?f(f(x-5,y,z),f(y-5,z,x),f(z-5,x,y)):z;}for(int a,b,c;~scanf("%d%d%d",&a,&b,&c);)writeln(f(a,b,c));}

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

download

return to the top page