// 导入StdIn包 import scala.io.StdIn object Main { def main(args: Array[String]): Unit = { val line = StdIn.readLine() val nums = line.split(" ") print("score1=%s,score2=%s,score3=%s".format(nums(0), nums(1), nums(2))) } }
// 导入StdIn包 import scala.io.StdIn object Main { def main(args: Array[String]): Unit = { val line = StdIn.readLine() val nums = line.split(" ") print("score1=%s,score2=%s,score3=%s".format(nums(0), nums(1), nums(2))) } }