自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Stephen

做一些有趣的事,做一个有趣的人!

  • 博客(4)
  • 收藏
  • 关注

原创 HDU2665之划分树

第一种 #include #include #include #include #include #include #include #include #include #define INF 999999999 using namespace std; const int MAX=100001; //s表示原数组,tree表示第i层元素序列,sum表示第i层L~j分到左子树的元素个数

2013-02-28 18:49:11 1099 1

原创 hdu2660简单DP

#include #include #include #include #include #include #include #include #include #define INF 999999999 using namespace std; const int MAX=1001; int dp[21][MAX]; int s[21][2]; int main(){ int n,k,w,

2013-02-26 20:51:35 615

原创 hdu2612简单BFS

本以为用BFS会超时,没想到竟然过了 http://acm.hdu.edu.cn/showproblem.php?pid=2612 #include #include #include #include #include #include #include #include #include #include #define INF 999999999 using namespac

2013-02-25 21:01:06 838

原创 http://codeforces.com/contest/276/problem/C

开学的第一次CF就这样失败了,一道简单的DP竟然没做出来,看来寒假真是疯了。。。。。 The little girl loves the problems on array queries very much. One day she came across a rather well-known problem: you've got an array of

2013-02-25 09:38:31 703

空空如也

空空如也

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

TA关注的人

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