You are viewing a single comment's thread. Return to all comments →
A hack would be to read everything as val points = scala.io.Source.stdin.getLines() which is a Iterator[String] and get N as
val N = points.next()
Seems like cookies are disabled on this browser, please enable them to open this website
Compute the Perimeter of a Polygon
You are viewing a single comment's thread. Return to all comments →
A hack would be to read everything as val points = scala.io.Source.stdin.getLines() which is a Iterator[String] and get N as
val N = points.next()