Here are A+B examples in Kotlin reading from stdin: fun main() { val (a, b) = readLine()!!.split(' ') println(a.toInt() + b.toInt()) }.
確定! 回上一頁