Branching Computations by llhuii

loop{*a=0;gets.bytes{|c,*b|*a=[a[s=m=c[5],$$],a.each{|e|s+=e;m*=e;b<<e-1<<e+1}[0..-2],s,m,b][c/2%5]};p a}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page