Sum the deltas by chocobi

p,s,a,b;main(c){for(;~scanf(" %c%d%c"+(c<93),&a,&b,&c);p=c/93?printf("%d\n",s):b)s+=a%2?-s:b-p;}

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

download

return to the top page