File standardInput readLines map(v,v=v split map(asNumber)sort;((1+m:=v at(0))*m*(1-m+3*v last)/6)println)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page