79320554

Date: 2024-12-31 18:06:44
Score: 0.5
Natty:
Report link

@main will pass all un-parsed args to a String* parameter if there is one. In the case there are no parsed args, this means:

@main def main(args: String*) = {  
  println(args(0).toDouble+args(1).toDouble)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CoreyOConnor