<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_39880604的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_39880604</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_39880604]]></copyright><item><title><![CDATA[杭电oj HDOJ 2489 Minimal Ratio Tree（DFS 最小生成树）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/105003328</link><guid>https://blog.csdn.net/qq_39880604/article/details/105003328</guid><author>qq_39880604</author><pubDate>Sat, 21 Mar 2020 08:40:28 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2489 Minimal Ratio Tree
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2489
Problem Description
For a tree, which nodes and edges are all weighted, the ratio of it is calculated according to...]]></description><category></category></item><item><title><![CDATA[leetcode 494.目标和（DP 动态规划）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104931646</link><guid>https://blog.csdn.net/qq_39880604/article/details/104931646</guid><author>qq_39880604</author><pubDate>Wed, 18 Mar 2020 09:17:21 +0800</pubDate><description><![CDATA[leetcode 494.目标和
题目来源：https://leetcode-cn.com/problems/target-sum/
题目
给定一个非负整数数组，a1, a2, …, an, 和一个目标数，S。现在你有两个符号 + 和 -。对于数组中的任意一个整数，你都可以从 + 或 -中选择一个符号添加在前面。
返回可以使最终数组和为目标数 S 的所有添加符号的方法数。
思路
本题是典型的“动态...]]></description><category></category></item><item><title><![CDATA[leetcode 785. 判断二分图（基于DFS的染色法）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104885047</link><guid>https://blog.csdn.net/qq_39880604/article/details/104885047</guid><author>qq_39880604</author><pubDate>Sun, 15 Mar 2020 20:36:14 +0800</pubDate><description><![CDATA[leetcode 785. 判断二分图
题目来源：https://leetcode-cn.com/problems/is-graph-bipartite/
题目
给定一个无向图graph，当这个图为二分图时返回true。
如果我们能将一个图的节点集合分割成两个独立的子集A和B，并使图中的每一条边的两个节点一个来自A集合，一个来自B集合，我们就将这个图称为二分图。
graph将会以邻接表方式给出，g...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2067 小兔的棋盘（卡特兰数）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104855063</link><guid>https://blog.csdn.net/qq_39880604/article/details/104855063</guid><author>qq_39880604</author><pubDate>Sat, 14 Mar 2020 10:35:22 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2067 小兔的棋盘
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2067
Problem Description
小兔的叔叔从外面旅游回来给她带来了一个礼物，小兔高兴地跑回自己的房间，拆开一看是一个棋盘，小兔有所失望。不过没过几天发现了棋盘的好玩之处。从起点(0，0)走到终点(n,n)的最短路径数是C(2n,n),现在小兔又想...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2068 RPG的错排（完全错排 部分错排）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104843955</link><guid>https://blog.csdn.net/qq_39880604/article/details/104843955</guid><author>qq_39880604</author><pubDate>Fri, 13 Mar 2020 17:01:59 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2068 RPG的错排
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2068
Problem Description
今年暑假杭电ACM集训队第一次组成女生队,其中有一队叫RPG,但做为集训队成员之一的野骆驼竟然不知道RPG三个人具体是谁谁。RPG给他机会让他猜猜，第一次猜：R是公主，P是草儿，G是月野兔；第二次猜：R是草儿，P...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2073 无限的路]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104838187</link><guid>https://blog.csdn.net/qq_39880604/article/details/104838187</guid><author>qq_39880604</author><pubDate>Fri, 13 Mar 2020 12:34:13 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2073 无限的路
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2073
Problem Description
甜甜从小就喜欢画图画，最近他买了一支智能画笔，由于刚刚接触，所以甜甜只会用它来画直线，于是他就在平面直角坐标系中画出如下的图形：
甜甜的好朋友蜜蜜发现上面的图还是有点规则的，于是他问甜甜：在你画的图中，我给你两个点，...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2076 夹角有多大(题目已修改,注意读题)]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104826144</link><guid>https://blog.csdn.net/qq_39880604/article/details/104826144</guid><author>qq_39880604</author><pubDate>Thu, 12 Mar 2020 19:50:31 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2076 夹角有多大(题目已修改,注意读题)
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2076
Problem Description
时间过的好快，一个学期就这么的过去了，xhd在傻傻的看着表，出于对数据的渴望，突然他想知道这个表的时针和分针的夹角是多少。现在xhd知道的只有时间，请你帮他算出这个夹角。
注：夹角的范围[0...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2083 简易版之最短距离]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104811405</link><guid>https://blog.csdn.net/qq_39880604/article/details/104811405</guid><author>qq_39880604</author><pubDate>Thu, 12 Mar 2020 09:14:08 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2083 简易版之最短距离
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2083
Problem Description
寒假的时候，ACBOY要去拜访很多朋友，恰巧他所有朋友的家都处在坐标平面的X轴上。ACBOY可以任意选择一个朋友的家开始访问，但是每次访问后他都必须回到出发点，然后才能去访问下一个朋友。
比如有4个朋友，对应...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2084 数塔（动态规划 DP）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104803886</link><guid>https://blog.csdn.net/qq_39880604/article/details/104803886</guid><author>qq_39880604</author><pubDate>Wed, 11 Mar 2020 21:03:27 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2084 数塔
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2084
Problem Descripition
在讲述DP算法的时候，一个经典的例子就是数塔问题，它是这样描述的：
有如下所示的数塔，要求从顶层走到底层，若每一步只能走到相邻的结点，则经过的结点的数字之和最大是多少？
已经告诉你了，这是个DP的题目，你能AC吗?
I...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2085 核反应堆（递推）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104790905</link><guid>https://blog.csdn.net/qq_39880604/article/details/104790905</guid><author>qq_39880604</author><pubDate>Wed, 11 Mar 2020 10:39:28 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2085 核反应堆
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2085
Problem Description
某核反应堆有两类事件发生：
高能质点碰击核子时，质点被吸收，放出3个高能质点和1个低能质点；
低能质点碰击核子时，质点被吸收，放出2个高能质点和1个低能质点。
假定开始的时候（0微秒）只有一个高能质点射入核反应堆，每...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 2094 产生冠军]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104777679</link><guid>https://blog.csdn.net/qq_39880604/article/details/104777679</guid><author>qq_39880604</author><pubDate>Tue, 10 Mar 2020 17:24:09 +0800</pubDate><description><![CDATA[杭电oj HDOJ 2094 产生冠军
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=2094
Problem Description
有一群人，打乒乓球比赛，两两捉对撕杀，每两个人之间最多打一场比赛。
球赛的规则如下：
如果A打败了B，B又打败了C，而A与C之间没有进行过比赛，那么就认定，A一定能打败C。
如果A打败了B，B又打败了C，而且，C又打...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1046 Gridland（最短路径）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104761722</link><guid>https://blog.csdn.net/qq_39880604/article/details/104761722</guid><author>qq_39880604</author><pubDate>Mon, 09 Mar 2020 21:53:38 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1046 Gridland
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1046
Problem Description
For years, computer scientists have been trying to find efficient solutions to different computing probl...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1041 Computer Transformation（递推+大数处理）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104759948</link><guid>https://blog.csdn.net/qq_39880604/article/details/104759948</guid><author>qq_39880604</author><pubDate>Mon, 09 Mar 2020 20:27:49 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1041 Computer Transformation
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1041
Problem Description
A sequence consisting of one digit, the number 1 is initially written into a computer. At...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1036 Average is not Fast Enough!]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104749336</link><guid>https://blog.csdn.net/qq_39880604/article/details/104749336</guid><author>qq_39880604</author><pubDate>Mon, 09 Mar 2020 12:08:13 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1036 Average is not Fast Enough!
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1036
Problem Description
A relay is a race for two or more teams of runners. Each member of a team runs one se...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1031 Design T-Shirt]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104740169</link><guid>https://blog.csdn.net/qq_39880604/article/details/104740169</guid><author>qq_39880604</author><pubDate>Sun, 08 Mar 2020 20:58:35 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1031 Design T-Shirt
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1031
Problem Description
Soon after he decided to design a T-shirt for our Algorithm Board on Free-City BBS, XKA found that...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1029 Ignatius and the Princess IV]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104728848</link><guid>https://blog.csdn.net/qq_39880604/article/details/104728848</guid><author>qq_39880604</author><pubDate>Sun, 08 Mar 2020 11:26:16 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1029 Ignatius and the Princess IV
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1029
Problem Description
“OK, you are not too bad, em… But you can never pass the next test.” feng5166 says.
...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1020 Encoding（一个简单的字符串处理）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104720235</link><guid>https://blog.csdn.net/qq_39880604/article/details/104720235</guid><author>qq_39880604</author><pubDate>Sat, 07 Mar 2020 20:06:17 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1020 Encoding
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1020
Problem Description
Given a string containing only ‘A’ - ‘Z’, we could encode it using the following method:


Each sub-stri...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1013 Digital Roots]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104709513</link><guid>https://blog.csdn.net/qq_39880604/article/details/104709513</guid><author>qq_39880604</author><pubDate>Sat, 07 Mar 2020 09:49:38 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1013 Digital Roots
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1013
Problem Description
The digital root of a positive integer is found by summing the digits of the integer. If the result...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1203 I NEED A OFFER!（01背包问题）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104704004</link><guid>https://blog.csdn.net/qq_39880604/article/details/104704004</guid><author>qq_39880604</author><pubDate>Fri, 06 Mar 2020 21:36:11 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1203 I NEED A OFFER!
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1203
Problem Description
Speakless很早就想出国，现在他已经考完了所有需要的考试，准备了所有要准备的材料，于是，便需要去申请学校了。要申请国外的任何大学，你都要交纳一定的申请费用，这可是很惊人的。Speakles...]]></description><category></category></item><item><title><![CDATA[杭电oj HDOJ 1018 Big Number（斯特林公式求大数阶乘的位数）]]></title><link>https://blog.csdn.net/qq_39880604/article/details/104692062</link><guid>https://blog.csdn.net/qq_39880604/article/details/104692062</guid><author>qq_39880604</author><pubDate>Fri, 06 Mar 2020 12:00:58 +0800</pubDate><description><![CDATA[杭电oj HDOJ 1018 Big Number
题目来源：http://acm.hdu.edu.cn/showproblem.php?pid=1018
Problem Description
In many applications very large integers numbers are required. Some of these applications are using ke...]]></description><category></category></item></channel></rss>