Task: | Backpacking |
Sender: | okkokko |
Submission time: | 2024-09-02 16:40:14 +0300 |
Language: | Scala |
Status: | COMPILE ERROR |
Compiler report
input/t1.scala:5: error: expected start of definition @main def main(): Unit = { ^ one error found
Code
import io.StdIn @main def main(): Unit = { val ab = io.StdIn.readLine().split(" ") println(ab(0)+ab(1)) }