You are viewing a single comment's thread. Return to all comments →
scala.io.Source.stdin.getLines() cannot read after scala.io.StdIn because of . I donot know it's a bug or a feature... you can try
val points = (1 to N).map(_ => scala.io.StdIn.readLine()).toList
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 →
scala.io.Source.stdin.getLines() cannot read after scala.io.StdIn because of . I donot know it's a bug or a feature... you can try