摘要: Problem Description:http://oj.leetcode.com/problems/text-justification/Note: Just be careful about boundary when implementing it. 1 class Solution { 2 public: 3 string genNormalLine(vector &words, int L, int start, int end){ 4 int word_count = end - start + 1; 5 string line; 6 ... 阅读全文
posted @ 2013-10-16 11:34 假日笛声 阅读(559) 评论(0) 推荐(0) 编辑