• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • YouClaw
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
var fou:strawberry;
博客园 首页 新随笔 联系 订阅 订阅 管理

2014年11月28日

红黑树
摘要: 1、RBT#include "stdafx.h"#include#include#include#include#include#define maxn 1111111#define RED 0#define BLACK 1#define nil 0using namespace std;int n... 阅读全文
posted @ 2014-11-28 00:18 var_fou:strawberry 阅读(114) 评论(0) 推荐(0)
 
 

2014年11月12日

splay poj 3580
摘要: //16:38#include#include#include#include#include#define INF 0x7FFFFFFF#define maxn 1111111using namespace std;int n,que,ll,rr,v,T,id,root,tot,a[maxn],f... 阅读全文
posted @ 2014-11-12 20:26 var_fou:strawberry 阅读(115) 评论(0) 推荐(0)
 
treap
摘要: #include#include#include#include#include#define MAXMOD 999983#define maxn 1111111using namespace std;int n,m,v,root,tot,a[maxn],l[maxn],r[maxn],data[m... 阅读全文
posted @ 2014-11-12 12:37 var_fou:strawberry 阅读(226) 评论(0) 推荐(0)
 
 

2014年10月29日

归并排序 堆排序
摘要: 1、归并排序#include "stdafx.h"#include#include#include#include#define maxn 111111using namespace std;int n, a[maxn], b[maxn];void mergesort(int ll, int rr)... 阅读全文
posted @ 2014-10-29 20:41 var_fou:strawberry 阅读(258) 评论(0) 推荐(0)
 
快速排序
摘要: 1、三路划分思想就是把相等的一段ignore#include#include#include#include#include#include#define maxn 21111111using namespace std;int n, a[maxn];void sort(int ll, int rr... 阅读全文
posted @ 2014-10-29 20:39 var_fou:strawberry 阅读(176) 评论(0) 推荐(0)
 
 

2014年9月28日

双三次插值(卷积插值)bicubic interplotation
摘要: 给几个传送门:http://www.tinaja.com/glib/pixintpl.pdfhttp://en.wikipedia.org/wiki/Bicubic_interpolationhttp://luoweifu.iteye.com/blog/1726068http://www.codep... 阅读全文
posted @ 2014-09-28 00:44 var_fou:strawberry 阅读(1393) 评论(0) 推荐(0)
 
 

2014年9月25日

VIM使用
摘要: 1、按Esc处于命令模式 最后一行输:wq 保存文件并退出2、命令模式切换到文本输入模式 i:在光标左侧输入文本 L:在行开头输入正文 a:光标右侧 A:行末尾输入 o:增加一行 光标位于下一行开头 O:增加一行,光标位于上一行开头3、命令模式下 dd删除光标所在行 u撤销最近... 阅读全文
posted @ 2014-09-25 12:11 var_fou:strawberry 阅读(269) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3