I love haskell by chocobi

b[99],d,l,r;char a[9];f(g){scanf("%s",a);a[1]?f(a[0]):gets(a);g-62?g-60?(b[50+(d?l--:++r)]=g=='n'):(d=0):++d;}main(c){if(~scanf("%s",a)){f(a[0]);for(d=1,c=51+l;c<51+r;)d=b[c++]?-d:1;printf("%d\n",d);d=l=r=0;main();}}

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