自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 问答 (1)
  • 收藏
  • 关注

原创 hdu 5444 Elven Postman

题目要求我们建立一棵二叉搜索树,然后每次从根出发,走的路径记录下来数据结构#includeusing namespace std;struct point{ int v; point * lson; point * rson;};point *root=NULL;int k;char path[10010];void searchB

2015-09-16 14:01:25 333

原创 poj 1463 Strategic game 树形dp

第一个自己做出来的树形DP,nice.#include#includeusing namespace std;int a[10010];int n;struct point{ int son; int father; int brother; int put; int not_put;}p[10010];void init(){

2015-09-10 18:37:09 329

原创 hdu 1114 Piggy-Bank 完全背包

完全背包       对每个银币进行完全背包#includeusing namespace std;int w[100010];int v[100010];int dp[100010];const int inf = 0x3f3f3f3f;void completepack(int v,int w,int sum){ int i; for(i=0;i<=sum

2015-09-03 16:17:45 303

原创 centos vim %y+支持

[b]转自 : http://joy2everyone.iteye.com/blog/1552004#comments[/b]vim:从文件拷贝内容至clipboard 博客分类: vim fedoravimclipboardlinuxvim:从文件拷贝内容至Clipboard1.进入visual模式2.选中目标内容3.然后:y+将会显示:'...

2015-09-03 13:33:44 257

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除