• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






hebozi

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2012年8月12日

MultiSet容器(多元集合)
摘要: 多元集合(MultiSets)和集合(Sets)相像,只不过支持重复对象。函数列表:begin()返回指向第一个元素的迭代器clear()清除所有元素count()返回指向某个值元素的个数empty()如果集合为空,返回trueend()返回指向最后一个元素的迭代器equal_range()返回集合中与给定值相等的上下限的两个迭代器erase()删除集合中的元素find()返回一个指向被查找到元素的迭代器get_allocator()返回多元集合的分配器insert()在集合中插入元素key_comp()返回一个用于元素间值比较的函数lower_bound()返回指向大于(或等于)某值的第一个 阅读全文
posted @ 2012-08-12 22:27 hebozi 阅读(270) 评论(0) 推荐(0)
 
Yuna's confusion multiset的应用
摘要: Yuna's confusionTime Limit : 6000/3000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 26Accepted Submission(s) : 15Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionAfter yuna studies the STL container,she finds the STL powerful for AC.For the 阅读全文
posted @ 2012-08-12 22:24 hebozi 阅读(145) 评论(0) 推荐(0)
 
Swimming
摘要: SwimmingTime Limit : 3000/1000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 3Accepted Submission(s) : 2Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionIn the 2012 London Olympics, Sun Yang, the young Chinese swimmer, wins 2 golden medals and b 阅读全文
posted @ 2012-08-12 19:52 hebozi 阅读(198) 评论(0) 推荐(0)
 
Merlininice’s Hometask 2,3,5的最大公倍数
摘要: Merlininice’s HometaskTime Limit : 5000/2000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 17Accepted Submission(s) : 7Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionMerlininice dosen’t love math lessons, so he always ditches math class. But a 阅读全文
posted @ 2012-08-12 19:34 hebozi 阅读(212) 评论(0) 推荐(0)