<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[小坏蛋_千千]]></title><description><![CDATA[I was caught in a heavy rain!]]></description><link>https://blog.csdn.net/qq_28954601</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_28954601]]></copyright><item><title><![CDATA[【组合数学】卡特兰数 / 大施罗德数 相关]]></title><link>https://blog.csdn.net/qq_28954601/article/details/108306374</link><guid>https://blog.csdn.net/qq_28954601/article/details/108306374</guid><author>qq_28954601</author><pubDate>Sun, 30 Aug 2020 14:53:34 +0800</pubDate><description><![CDATA[【模板】超级卡特兰数/大施罗德数： https://www.acwing.com/blog/content/2273/


卡特兰数和超级卡特兰数：https://www.cnblogs.com/gzy-cjoier/p/10394016.html



]]></description><category></category></item><item><title><![CDATA[牛客大回馈 & 华为云学生服务器使用]]></title><link>https://blog.csdn.net/qq_28954601/article/details/103203049</link><guid>https://blog.csdn.net/qq_28954601/article/details/103203049</guid><author>qq_28954601</author><pubDate>Fri, 22 Nov 2019 16:24:58 +0800</pubDate><description><![CDATA[以前一直在牛客网上刷题，没想到这次出了这一个新活动，看到小伙伴第一次推荐的时候并没有多少感觉。没想到时隔几天以后又妥妥的上车了，也非常喜欢华为手环 3e。
关于服务器呢？其实对于学生来说优惠程度还是很大的，第一次接触是在腾讯云的 1 元学生机，然鹅那个活动早就随着毕业没有了，搜来搜去还是华为云比较实惠呀，配合牛客网这次的大回馈，一年的学生机 9 元太爽了。
普通的建站 + 一些小的 web 项目使...]]></description><category></category></item><item><title><![CDATA[Codeforces Edu Hacking]]></title><link>https://blog.csdn.net/qq_28954601/article/details/81075411</link><guid>https://blog.csdn.net/qq_28954601/article/details/81075411</guid><author>qq_28954601</author><pubDate>Tue, 17 Jul 2018 09:26:32 +0800</pubDate><description><![CDATA[QAQ 明明说好的不更新，但还是想把这个项目分享给大家~ // 貌似可以多一点访问量佯~

不介意的话记得给个 Star 哦~



还在发愁打了那么多场比赛都没有进入首页么？

还在为了前 5 的 hacker 名额阅读千份代码么？

是的，你没有看错！这是一个 Edu &amp;amp;amp; Div.3 轮 Open hacking 错误代码自动查找器！

链接：https://www.dreamwing...]]></description><category></category></item><item><title><![CDATA[【重大通知】本博客已停止更新……]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80144235</link><guid>https://blog.csdn.net/qq_28954601/article/details/80144235</guid><author>qq_28954601</author><pubDate>Sun, 29 Apr 2018 17:29:35 +0800</pubDate><description><![CDATA[&amp;nbsp;

年事已高，无力维护（同步），故停更……

&amp;nbsp;

Flag:


如果 CSDN 的界面回到两年前我就回来
博客准专家已经当了整整一年多还没有升级呢 ＞︿＜


&amp;nbsp;

若想继续关注，请留意千千的个人网站哦~：https://www.dreamwings.cn 
本博所有文章均在菜单栏【AI编程】下，唔~ 其实很早的时候就这样了~

&amp;nbsp;...]]></description><category></category></item><item><title><![CDATA[Nowcoder 105G 又见斐波那契 （矩阵快速幂）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80118265</link><guid>https://blog.csdn.net/qq_28954601/article/details/80118265</guid><author>qq_28954601</author><pubDate>Sat, 28 Apr 2018 11:15:57 +0800</pubDate><description><![CDATA[题目描述


  这是一个加强版的斐波那契数列，给定递推式
  
  F(i)=⎧⎩⎨F(i−1)+F(i−2)+i3+i2+i+101i&amp;gt;1i=0i=1F(i)={F(i−1)+F(i−2)+i3+i2+i+1i&amp;gt;10i=01i=1
F(i)=
\begin{cases}
F(i-1) + F(i-2) + i^3 + i^2 + i + 1 &amp; &amp; i&gt;1 \\
0 &amp; &amp; i=0...]]></description><category></category></item><item><title><![CDATA[HDU 3949 XOR （线性基，模板）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80112549</link><guid>https://blog.csdn.net/qq_28954601/article/details/80112549</guid><author>qq_28954601</author><pubDate>Fri, 27 Apr 2018 19:47:46 +0800</pubDate><description><![CDATA[Description


  XOR is a kind of bit operator, we define that as follow: for two binary base number A and B, let C=A XOR B, then for each bit of C, we can get its value by check the digit of correspon...]]></description><category></category></item><item><title><![CDATA[Nowcoder 105D Fibonacci 进制 （数论）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80105422</link><guid>https://blog.csdn.net/qq_28954601/article/details/80105422</guid><author>qq_28954601</author><pubDate>Fri, 27 Apr 2018 11:21:06 +0800</pubDate><description><![CDATA[题目描述


  Fibonacci 数是非常有名的一个数列，它的公式为 f(n)=f(n−1)+f(n−2),f(0)=1,f(1)=2f(n)=f(n−1)+f(n−2),f(0)=1,f(1)=2f(n)=f(n-1)+f(n-2),f(0)=1,f(1)=2 。
  
  我们可以把任意一个数 xxx 表示成若干不相同的 Fibonacci 数的和，比如说 14=13+1=8+5+1=8+...]]></description><category></category></item><item><title><![CDATA[BZOJ 2115 [Wc2011] Xor （线性基）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80096636</link><guid>https://blog.csdn.net/qq_28954601/article/details/80096636</guid><author>qq_28954601</author><pubDate>Thu, 26 Apr 2018 17:13:49 +0800</pubDate><description><![CDATA[Description


  考虑一个边权为非负整数的无向连通图，节点编号为 1 到 N，试求出一条从 1 号节点到 N 号节点的路径，使得路径上经过的边权值的 XOR 和最大。
  
  路径可以重复经过某些点或边，当一条边在路径中出现了很多次时，其权值在计算 XOR 和时也要被计算相应多的次数。


&amp;nbsp;



Input


  第一行包含两个整数 N 和 M ，表示该无向图中点的...]]></description><category></category></item><item><title><![CDATA[codevs 2498 IncDec Sequence （差分数组）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80066372</link><guid>https://blog.csdn.net/qq_28954601/article/details/80066372</guid><author>qq_28954601</author><pubDate>Tue, 24 Apr 2018 16:18:58 +0800</pubDate><description><![CDATA[Description


  给定一个长度为 n 的数列 {a1,a2…an} ，每次可以选择一个区间 [l,r] ，使这个区间内的数都加一或者都减一。
  
  问至少需要多少次操作才能使数列中的所有数都一样，并求出在保证最少次数的前提下，最终得到的数列有多少种。


&amp;nbsp;



Input


  第一行一个正整数 n
  
  接下来 n 行，每行一个整数，第 i+1 行的整数表示...]]></description><category></category></item><item><title><![CDATA[TopCoder TCO 2018 Round 1A 500 （思维）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80036362</link><guid>https://blog.csdn.net/qq_28954601/article/details/80036362</guid><author>qq_28954601</author><pubDate>Sun, 22 Apr 2018 10:01:25 +0800</pubDate><description><![CDATA[Problem Statement


  The Resistance is a multiplayer board game. During the game each player belongs into one of two groups: some are resistance members, others are spies. In this problem there are P...]]></description><category></category></item><item><title><![CDATA[Codeforces 963 A. Alternating Sum （逆元）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/80010699</link><guid>https://blog.csdn.net/qq_28954601/article/details/80010699</guid><author>qq_28954601</author><pubDate>Thu, 19 Apr 2018 20:47:09 +0800</pubDate><description><![CDATA[Description


  You are given two integers aaa and bbb. Moreover, you are given a sequence s0,s1,…,sns0,s1,…,sns_0, s_1, \dots, s_{n}. All values in sss are integers 111 or −1−1-1. It’s known that seq...]]></description><category></category></item><item><title><![CDATA[Codeforces 908 F. New Year and Rainbow Roads（思维）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79929463</link><guid>https://blog.csdn.net/qq_28954601/article/details/79929463</guid><author>qq_28954601</author><pubDate>Fri, 13 Apr 2018 15:23:18 +0800</pubDate><description><![CDATA[Description


  Roy and Biv have a set of n points on the infinite number line.
  
  Each point has one of 3 colors: red, green, or blue.
  
  Roy and Biv would like to connect all the points with som...]]></description><category></category></item><item><title><![CDATA[51nod 1042 数字0-9的数量 （数位dp）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79884405</link><guid>https://blog.csdn.net/qq_28954601/article/details/79884405</guid><author>qq_28954601</author><pubDate>Tue, 10 Apr 2018 17:19:36 +0800</pubDate><description><![CDATA[Description


  给出一段区间 a-b ，统计这个区间内 0-9 出现的次数。
  
  比如 10-19，1 出现 11 次（10, 11, 12, 13, 14, 15, 16, 17, 18, 19，其中 11 包括 2 个 1 )，其余数字各出现 1 次。


&amp;nbsp;



Input


  两个数 a,b（1 &amp;lt;= a &amp;lt;= b &amp;lt;= 10^18)...]]></description><category></category></item><item><title><![CDATA[Leetcode 813 Largest Sum of Averages （区间dp）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79852404</link><guid>https://blog.csdn.net/qq_28954601/article/details/79852404</guid><author>qq_28954601</author><pubDate>Sun, 08 Apr 2018 15:14:53 +0800</pubDate><description><![CDATA[Description


  We partition a row of numbers A into at most K adjacent (non-empty) groups, then our score is the sum of the average of each group. What is the largest score we can achieve?
  
  Note ...]]></description><category></category></item><item><title><![CDATA[LOJ 6160 二分图染色 （dp，组合数学）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79837338</link><guid>https://blog.csdn.net/qq_28954601/article/details/79837338</guid><author>qq_28954601</author><pubDate>Fri, 06 Apr 2018 21:56:38 +0800</pubDate><description><![CDATA[题目描述


  给定一个完全二分图，图的左右两边的顶点数目相同。我们要把图中的每条边染成红色、蓝色、或者绿色，并使得任意两条红边不共享端点、同时任意两条蓝边也不共享端点。计算所有满足条件的染色的方案数，并对 109+7109+710^9+7 取模。


&amp;nbsp;



输入格式


  二分图单边的顶点数目 nnn 。


&amp;nbsp;



输出格式


  输出一个整数，即所求的答案。
...]]></description><category></category></item><item><title><![CDATA[计蒜客 25092 蒜头君的数轴]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79703500</link><guid>https://blog.csdn.net/qq_28954601/article/details/79703500</guid><author>qq_28954601</author><pubDate>Mon, 26 Mar 2018 20:23:02 +0800</pubDate><description><![CDATA[题目描述


  今天蒜头君拿到了一个数轴，上边有 nnn 个点，但是蒜头君嫌这根数轴不够优美，想要通过加一些点让它变优美，所谓优美是指考虑相邻两个点的距离，最多只有一对点的距离与其它的不同。
  
  蒜头君想知道，他最少需要加多少个点使这个数轴变优美。


&amp;nbsp;



输入格式


  输入第一行为一个整数 n(1≤n≤105)n(1≤n≤105)n(1 \leq n \leq 10^...]]></description><category></category></item><item><title><![CDATA[ECNU 3337 我认识你 （思维）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79698807</link><guid>https://blog.csdn.net/qq_28954601/article/details/79698807</guid><author>qq_28954601</author><pubDate>Mon, 26 Mar 2018 15:29:34 +0800</pubDate><description><![CDATA[Description


  人与人之间的关系错综复杂，常常会出现一个叫作共同好友的东西。所以，贴心的 QQ 就提供了这样一个功能，可以显示你与某人（不一定是好友）有多少个共同好友。但是，当用户量逐渐增大，好友关系网不断复杂化，共同好友计算的效率就变得十分重要了。
  
  你刚刚和腾讯公司签约，获得了共同好友计算的开发资格。


&amp;nbsp;



Input


  第一行有两个整数 n,m...]]></description><category></category></item><item><title><![CDATA[蓝桥杯 国王的烦恼 （并查集）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79651513</link><guid>https://blog.csdn.net/qq_28954601/article/details/79651513</guid><author>qq_28954601</author><pubDate>Thu, 22 Mar 2018 11:24:22 +0800</pubDate><description><![CDATA[问题描述


  C国由n个小岛组成，为了方便小岛之间联络，C国在小岛间建立了m座大桥，每座大桥连接两座小岛。两个小岛间可能存在多座桥连接。然而，由于海水冲刷，有一些大桥面临着不能使用的危险。
  
  如果两个小岛间的所有大桥都不能使用，则这两座小岛就不能直接到达了。然而，只要这两座小岛的居民能通过其他的桥或者其他的小岛互相到达，他们就会安然无事。但是，如果前一天两个小岛之间还有方法可以到达，后...]]></description><category></category></item><item><title><![CDATA[蓝桥杯 城市建设 （Kruskal）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79646830</link><guid>https://blog.csdn.net/qq_28954601/article/details/79646830</guid><author>qq_28954601</author><pubDate>Wed, 21 Mar 2018 22:00:21 +0800</pubDate><description><![CDATA[问题描述


  栋栋居住在一个繁华的 C 市中，然而，这个城市的道路大都年久失修。市长准备重新修一些路以方便市民，于是找到了栋栋，希望栋栋能帮助他。
  
  C 市中有 n 个比较重要的地点，市长希望这些地点重点被考虑。现在可以修一些道路来连接其中的一些地点，每条道路可以连接其中的两个地点。另外由于 C 市有一条河从中穿过，也可以在其中的一些地点建设码头，所有建了码头的地点可以通过河道连接。
...]]></description><category></category></item><item><title><![CDATA[Codeforces 714 C. Sonya and Queries （思维）]]></title><link>https://blog.csdn.net/qq_28954601/article/details/79632067</link><guid>https://blog.csdn.net/qq_28954601/article/details/79632067</guid><author>qq_28954601</author><pubDate>Tue, 20 Mar 2018 21:22:08 +0800</pubDate><description><![CDATA[Description


  Today Sonya learned about long integers and invited all her friends to share the fun. Sonya has an initially empty multiset with integers. Friends give her t queries, each of one of th...]]></description><category></category></item></channel></rss>