题解 | #成绩输入输出# Scala解法
成绩输入输出
http://www.nowcoder.com/practice/eb49750ef0de47168c21761de086d97c
// 导入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))) } }