随笔分类 -  STL

 
4 Values whose Sum is 0_upper_bound&&ower_bound
摘要:Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quadruplet (a, b, c, d ) ∈ A 阅读全文
posted @ 2016-10-22 15:42 阿宝的锅锅 阅读(167) 评论(0) 推荐(0)
Newspaper Headline_set(upper_bound)
摘要:Description A newspaper is published in Walrusland. Its heading is s1, it consists of lowercase Latin letters. Fangy the little walrus wants to buy se 阅读全文
posted @ 2016-10-21 21:50 阿宝的锅锅 阅读(476) 评论(0) 推荐(0)
lower_bound和upper_bound算法
摘要:参考:http://www.cnblogs.com/cobbliu/archive/2012/05/21/2512249.html ForwardIter lower_bound(ForwardIter first, ForwardIter last,const _Tp& val)算法返回一个非递减 阅读全文
posted @ 2016-10-21 20:46 阿宝的锅锅 阅读(414) 评论(0) 推荐(0)