摘要: str1 = “adabbca”; str2 = "abc"; str1中包含str2的子串有abbc,bca,其中bca为最终结果,返回3 1 // minLengthContain.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #incl 阅读全文
posted @ 2016-08-14 22:22 lp3318 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1 // WaterPool.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include <stdlib.h> 6 #include <vector> 7 #include <iterator> 8 #include <iostream> 阅读全文
posted @ 2016-08-14 15:10 lp3318 阅读(127) 评论(0) 推荐(0) 编辑