Sum the deltas by rotary-o

while(0<1)println{val s="\\d+".r.findAllIn(readLine)toSeq;s.last.toInt-s(0).toInt}

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

download

return to the top page