|
|
back to boardNo subject Posted by Sunnat 26 Apr 2014 15:13 object _1001 { def main(args: Array[String]): Unit = { println(scala.io.Source.stdin.getLines.flatMap(_.split(" ").filter(!_.isEmpty())).toArray.reverse.map(t => math.sqrt(t.toDouble)).mkString("\n")) } } |
|
|