Polynomial Sequences by nn

System.in.eachLine{i=f=-1
a=it.split()[i..0]*.toLong()
n=a.size()
println a.sum{it*=f=f*n--/i--}}

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

download

return to the top page