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






kk!

 
 

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

2015年10月11日

凸包
摘要: #include #include #include #include #include using namespace std;struct node{int x,y;} a[5005],b[5005];int n,top,row,line;int cross(const node a1,cons... 阅读全文
posted @ 2015-10-11 18:53 kk! 阅读(137) 评论(0) 推荐(0)
 
最小的n个数(堆排序)
摘要: 最小的n个和Time Limit: 1000 MSMemory Limit: 32768 KTotal Submit: 136(41 users)Total Accepted: 38(32 users)Rating: Special Judge: NoDescription给定A、B两个数列,各包含... 阅读全文
posted @ 2015-10-11 14:34 kk! 阅读(517) 评论(0) 推荐(0)
 
排序
摘要: #includeusing namespace std;void bubble_sort(int n,int a[]){ int i,j; for(i=n-1;i>=0;i--) { for(j=0;ja[j+1]) { swap(a[j],a[j+1]); } } }}void ... 阅读全文
posted @ 2015-10-11 13:19 kk! 阅读(158) 评论(0) 推荐(0)