static int lengthOfLongestLine(S s) { int w = 0; for (S line : toLines(s)) w = max(w, l(line)); ret w; }