Problem Statement
A description of the problem can be found on Hackerrank.
Solution
1 2 3 4 5 |
object SolveMeFirst { def main(args: Array[String]) { println(io.Source.stdin.getLines().take(2).map(_.toInt).sum) } } |
Solution also available on my GitHub.