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






君凌烟阁

 
 

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

2017年9月4日

STL之set篇
摘要: insert为插入。set_intersection求交集,set_union求并集,是属于algorithm里的函数。 例题有 PAT甲级1063 #include<iostream> #include<cstring> #include<cstdio> #include<set> #includ 阅读全文
posted @ 2017-09-04 15:20 君凌烟阁 阅读(206) 评论(0) 推荐(0)
 
完全二叉树-已知中序排序,输出广度排序
摘要: 题目:PAT1064 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; int cmp(int a,int b) { return a < b; } int n 阅读全文
posted @ 2017-09-04 14:36 君凌烟阁 阅读(374) 评论(0) 推荐(0)