calc equation by rotary-o

using C=System.Console;class M{static void Main(){for(int b,i=0,j=0,k=0,l=1,m=1;m<2;l=i>0?l:b>17?k=l:b/2!=0?m=~b/17:-b*m){b=C.Read()-44;i=b%15<4?(j-=i*l)*0:i*10+b-4;if(b<-1)C.Write(j*k+"\n",j=0);}}}

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