x=scan("stdin");for(i in(1:(length(x)/2))*2-1){a=x[i];b=x[i+1];write("if"(a<b,50,b*(b+1)*(3*a+1-b)/6),"")}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page