CSES - Aalto Competitive Programming 2024 - wk1 - Mon - Results
Submission details
Task:Backpacking
Sender:okkokko
Submission time:2024-09-02 16:33:41 +0300
Language:Scala
Status:COMPILE ERROR

Compiler report

input/t1.scala:7: error: expected start of definition
def main(): Unit = {
^
one error found

Code

package competition

import io.StdIn


@main
def main(): Unit = {
  println(io.StdIn.readInt() + io.StdIn.readInt())
}