|  | 
|  | 
| back to board | Common BoardIs Scala impractical for the problem sets? Posted by Nadir  5 Aug 2015 00:43The suggested Scala solution for the A+B problem ran with time ~0.3. My own solution was only fractionally better.
 object Problem1000 {
 def main(args: Array[String]) {
 val expression = io.Source.stdin.getLines().next().split(" ")
 println(expression(0).toInt + expression(1).toInt)
 }
 }
 
 So I'm wondering if Scala is simply an impractical choice going forwards or if perhaps the the Scala judge is running suboptimally?
 
 Edited by author 05.08.2015 00:44
 | 
 | 
|