自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 POJ3252

题目链接:http://poj.org/problem?id=3252 2进制的数位dp。 int dfs(int len, int num0, int num1, bool start, bool limit),已经处理到第len位,之前已经处理的那些状态中num0个0,、num1个1,是否已经出现1了,是否受到限制 注意不能有前导零。 #include #include #in

2017-04-29 14:05:16 321

原创 HDU3709

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3709 ull dfs(int len, int piovt, int sum, bool limit),目前处理到第len位,第piovt 为支点,目前的和为sum,是否受到限制。 枚举每一位作为支点,累加  dfs(len, i, 0, true) #include #include

2017-04-29 12:51:23 312

原创 HDU3555

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3555 与HDU2089(不要62)相比,这道题是 “ 要49 ” ,比 “不要62” 的 dp[len][pre]  数组多了一个维度:dp[len][pre][exist]。 #include #include using namespace std; typedef unsigned l

2017-04-28 11:40:38 301

原创 HDU1542

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1542 矩形面积并 对于浮点数的离散化,真心看不懂啊…… #include #include #include #include using namespace std; #define lson l , m , rt << 1 #define rson m + 1 , r , rt <

2017-04-16 15:39:35 301

原创 POJ2528

题目链接:http://poj.org/problem?id=2528 区间增减模板题,不论是update还是query中都要进行下放标记。 #include #include #define lson l, m, x<<1 #define rson m+1, r, x<<1|1 using namespace std; typedef long long type; const in

2017-04-11 20:28:52 256

原创 HDU2795

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2795 信息最多200000条,所以高度也不会超过200000,以高度为下标建立线段树(1 到 n ),初始值全都是w,保留最大值,每次取最大值,取完之后直接在query里面减去wi的长度,并更新。 #include #include #define lson l, m, x<<1 #defin

2017-04-10 16:26:17 322

TensorFlow简单应用实例

TensorFlow的一个简单应用实例,基于Python2.7和TensorFlow1.3.0。随机产生32组生产出的零件的体积和重量,训练5000轮,每500轮输出一次损失函数。输出结果在文件的下面。

2018-07-23

HttpGet_jar包

HttpGet_jar包

2016-08-04

空空如也

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

TA关注的人

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