随笔分类 -  STL

摘要:upper_bound 大于找上界lower_bound 大于等于找下界 阅读全文
posted @ 2015-08-12 20:58 Painting、时光 阅读(122) 评论(0) 推荐(0)
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=5349/************************************************* Author :Powatr* Created Time :2015-8-9 19:37:... 阅读全文
posted @ 2015-08-09 19:46 Painting、时光 阅读(158) 评论(0) 推荐(0)
摘要:Polycarp loves geometric progressions very much. Since he was only three years old, he loves only the progressions of length three. He also has a favo... 阅读全文
posted @ 2015-08-06 21:20 Painting、时光 阅读(335) 评论(0) 推荐(0)
摘要:Berland National Library has recently been built in the capital of Berland. In addition, in the library you can take any of the collected works of Ber... 阅读全文
posted @ 2015-08-06 21:10 Painting、时光 阅读(158) 评论(0) 推荐(0)
摘要:/* map 向量可以存东西与数的大小无关,只与数的数目有关 */#include#include#include#includeusing namespace std;mapa;int main(){ for(int i = 0; i <= 32000; i++){ a[... 阅读全文
posted @ 2015-07-15 00:14 Painting、时光 阅读(203) 评论(0) 推荐(0)
摘要:DescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks... 阅读全文
posted @ 2015-03-23 10:33 Painting、时光 阅读(169) 评论(0) 推荐(0)