摘要:
```scala import scala.io.Source def widthOfLines(s:String):Int=s.length.toString.length val f = Source.fromFile("main.scala") val linesList=f.getLines().toList val maxLine=linesList.reduceLeft((a:Str... 阅读全文
posted @ 2016-03-01 12:44
Salaku
阅读(162)评论(0)推荐(0)
编辑