<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[wl16wzl的博客]]></title><description><![CDATA[miao]]></description><link>https://blog.csdn.net/wl16wzl</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; wl16wzl]]></copyright><item><title><![CDATA[暂不更新博客了，欢迎大家摘抄]]></title><link>https://blog.csdn.net/wl16wzl/article/details/99611839</link><guid>https://blog.csdn.net/wl16wzl/article/details/99611839</guid><author>wl16wzl</author><pubDate>Wed, 14 Aug 2019 21:27:31 +0800</pubDate><description><![CDATA[友链:

https://blog.csdn.net/tigerisland45

https://blog.csdn.net/Miranda_ymz


]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-12 数据中心]]></title><link>https://blog.csdn.net/wl16wzl/article/details/87083015</link><guid>https://blog.csdn.net/wl16wzl/article/details/87083015</guid><author>wl16wzl</author><pubDate>Tue, 12 Feb 2019 13:14:57 +0800</pubDate><description><![CDATA[题目说的挺玄乎，还对树分了层，其实就是一个裸的最小生成树

求出最小生成树后，所用的最大的那条边的长度就是答案


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
using namespace std;
t...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-12 CIDR合并]]></title><link>https://blog.csdn.net/wl16wzl/article/details/87082653</link><guid>https://blog.csdn.net/wl16wzl/article/details/87082653</guid><author>wl16wzl</author><pubDate>Tue, 12 Feb 2019 13:12:31 +0800</pubDate><description><![CDATA[题目挺长，但是说的挺清楚，最后还直接给出了算法，直接按照给出的算法就能得出答案

我们只需要处理输入和输出，将格式转化为自己熟悉的格式方便接下来的处理即可

这次的第三题对时间卡的挺紧，在同级合并那里我用了链表优化，不然会超时

还有一开始我用string保存ip，结果最后一组数据过不去

之后改用了整型保存，再用特定的方法处理，比string快很多


#include&amp;lt;iostream&amp;...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-12 小明放学]]></title><link>https://blog.csdn.net/wl16wzl/article/details/87082443</link><guid>https://blog.csdn.net/wl16wzl/article/details/87082443</guid><author>wl16wzl</author><pubDate>Tue, 12 Feb 2019 13:05:53 +0800</pubDate><description><![CDATA[用一个变量保存当前时间，过一遍所有路口

利用当前时间和 t 的差值以及对r+y+g的取模，计算当前路口的状态

要用long long 型变量


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
using...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-12 小明上学]]></title><link>https://blog.csdn.net/wl16wzl/article/details/87082184</link><guid>https://blog.csdn.net/wl16wzl/article/details/87082184</guid><author>wl16wzl</author><pubDate>Tue, 12 Feb 2019 13:01:41 +0800</pubDate><description><![CDATA[第一题水题


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
using namespace std;
typedef long long ll;
int main()
{
    int r,y,g,n,...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-03 棋局评估]]></title><link>https://blog.csdn.net/wl16wzl/article/details/86891870</link><guid>https://blog.csdn.net/wl16wzl/article/details/86891870</guid><author>wl16wzl</author><pubDate>Sun, 10 Feb 2019 11:11:10 +0800</pubDate><description><![CDATA[状态压缩+博弈+搜索

我先把棋局按照3进制压缩为一个整数，用这个整数作为参数去搜索，比较简便

两个人都要按最优策略来，就是博弈，这道题就简单的标记下当前是哪个人走

是Alice就递归的选择接下来能得到的最大分数，Bob就是最小分数


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#includ...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-03 URL映射]]></title><link>https://blog.csdn.net/wl16wzl/article/details/86891531</link><guid>https://blog.csdn.net/wl16wzl/article/details/86891531</guid><author>wl16wzl</author><pubDate>Sun, 10 Feb 2019 11:06:43 +0800</pubDate><description><![CDATA[文本处理题，题意阐述有点歧义，不是很清楚，能满分是一下一下试出来的，所以代码很乱

匹配时除非出现了&amp;lt;path&amp;gt;，否则元素个数和结尾的'/'都必须相同，否则就算做不匹配

且&amp;lt;path&amp;gt;不能匹配空串

知道了这些再按题意一步一步来就可以满分了


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstr...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-03 碰撞的小球]]></title><link>https://blog.csdn.net/wl16wzl/article/details/86891329</link><guid>https://blog.csdn.net/wl16wzl/article/details/86891329</guid><author>wl16wzl</author><pubDate>Sun, 10 Feb 2019 11:01:18 +0800</pubDate><description><![CDATA[小模拟题，模拟下小球的移动，并检查碰撞，如果有两个小球在相同位置或者移动到了边界，则改变速度方向


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
using namespace std;
typedef ...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-03 跳一跳]]></title><link>https://blog.csdn.net/wl16wzl/article/details/86891177</link><guid>https://blog.csdn.net/wl16wzl/article/details/86891177</guid><author>wl16wzl</author><pubDate>Sun, 10 Feb 2019 10:59:02 +0800</pubDate><description><![CDATA[简单的小水题


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
using namespace std;
typedef long long ll;
int main()
{
    int a,b=2;
...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-09 元素选择器]]></title><link>https://blog.csdn.net/wl16wzl/article/details/84552951</link><guid>https://blog.csdn.net/wl16wzl/article/details/84552951</guid><author>wl16wzl</author><pubDate>Mon, 26 Nov 2018 17:49:14 +0800</pubDate><description><![CDATA[总结了下，这道题就是个大坑题

两个方面很坑，一是题意不明确，让人有误解，二是数据水，也导致让人更加不懂题意了

解释下题意，我最后得出的结果是：

这题应该是让人构造一棵树，按照输入的文本前面的点来划分层级

对于每行来说，他的父节点应该是向上查找第一个点数小于自己的行

例如样例，应该是这样一颗树(按照标签)：

                              html

    ...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-09 买菜]]></title><link>https://blog.csdn.net/wl16wzl/article/details/84527285</link><guid>https://blog.csdn.net/wl16wzl/article/details/84527285</guid><author>wl16wzl</author><pubDate>Mon, 26 Nov 2018 10:34:37 +0800</pubDate><description><![CDATA[暴力求解法


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
using namespace std;
typedef long long ll;
const i...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-09 卖菜]]></title><link>https://blog.csdn.net/wl16wzl/article/details/84525202</link><guid>https://blog.csdn.net/wl16wzl/article/details/84525202</guid><author>wl16wzl</author><pubDate>Mon, 26 Nov 2018 10:02:10 +0800</pubDate><description><![CDATA[简单模拟，按照题目要求所说处理即可，注意一下首尾特殊处理


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
using namespace std;
typede...]]></description><category></category></item><item><title><![CDATA[HDU-3507 Print Article]]></title><link>https://blog.csdn.net/wl16wzl/article/details/84101907</link><guid>https://blog.csdn.net/wl16wzl/article/details/84101907</guid><author>wl16wzl</author><pubDate>Thu, 15 Nov 2018 12:05:12 +0800</pubDate><description><![CDATA[第一次写斜率DP的题，参考了很多东西

经过这题对斜率dp的理解是：

斜率dp是dp的优化方法，目的是将不能得到最优解的状态舍弃，将可能得到最优解的状态保留

将dp方程的转化为不等式，通过数形结合的方法把每个状态的答案反应为坐标系上的斜率

通过单调的下标来维护一个斜率单调的可行解队列，像是维护一个凸图形

参考的题解:https://www.cnblogs.com/kuangbin/arch...]]></description><category></category></item><item><title><![CDATA[CCF认证 2018-09 再卖菜]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83652703</link><guid>https://blog.csdn.net/wl16wzl/article/details/83652703</guid><author>wl16wzl</author><pubDate>Fri, 02 Nov 2018 11:35:43 +0800</pubDate><description><![CDATA[可以用dfs记忆化搜索+剪枝

更稳的方法是用差分约束，因为会有三元一次的不等式，所以把不等式全部改为前缀和的不等式

s[i]代表前i项的和，如a1+a2+a3&amp;gt;=b可改为s3-s0&amp;gt;=b，a1+a2+a3&amp;lt;=c改为s0-s3&amp;gt;=-c

以此类推，就全部转化为s[x]-s[y]&amp;gt;=z的形式，然后按照差分约束建图

用spfa求解，一开始就把所有点入队，求最长路，便可...]]></description><category></category></item><item><title><![CDATA[SPOJ-HIGH Highways]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83591080</link><guid>https://blog.csdn.net/wl16wzl/article/details/83591080</guid><author>wl16wzl</author><pubDate>Wed, 31 Oct 2018 21:31:58 +0800</pubDate><description><![CDATA[一道生成树计数模板题


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
using namespace std;
typedef long long ll;
co...]]></description><category></category></item><item><title><![CDATA[HDU-4408 Minimum Spanning Tree]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83590625</link><guid>https://blog.csdn.net/wl16wzl/article/details/83590625</guid><author>wl16wzl</author><pubDate>Wed, 31 Oct 2018 21:03:10 +0800</pubDate><description><![CDATA[参考博客：https://www.cnblogs.com/jcf94/p/4071098.html


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
#inclu...]]></description><category></category></item><item><title><![CDATA[HDU-4305 Lightning]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83589829</link><guid>https://blog.csdn.net/wl16wzl/article/details/83589829</guid><author>wl16wzl</author><pubDate>Wed, 31 Oct 2018 20:12:12 +0800</pubDate><description><![CDATA[参考博客：https://blog.csdn.net/alpc_wt/article/details/47057517


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;...]]></description><category></category></item><item><title><![CDATA[URAL-1627 Join]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83582939</link><guid>https://blog.csdn.net/wl16wzl/article/details/83582939</guid><author>wl16wzl</author><pubDate>Wed, 31 Oct 2018 13:59:12 +0800</pubDate><description><![CDATA[
#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
using namespace std;
typedef long long ll;
const int N=10...]]></description><category></category></item><item><title><![CDATA[SPOJ-DETER3 Find The Determinant III]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83573837</link><guid>https://blog.csdn.net/wl16wzl/article/details/83573837</guid><author>wl16wzl</author><pubDate>Wed, 31 Oct 2018 09:33:53 +0800</pubDate><description><![CDATA[求矩阵行列式的模板题

因为需要取模，并且有除法，可以在除法完成之后再取模


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt;queue&amp;gt;
using namespace st...]]></description><category></category></item><item><title><![CDATA[UVA-10766 Organising the Organisation]]></title><link>https://blog.csdn.net/wl16wzl/article/details/83549017</link><guid>https://blog.csdn.net/wl16wzl/article/details/83549017</guid><author>wl16wzl</author><pubDate>Tue, 30 Oct 2018 21:12:53 +0800</pubDate><description><![CDATA[生成树计数模板题

发现这个的模板有很多种，有的套上来时WA，有的能AC

因为自己不懂怎么求行列式，看不出有什么问题，赶紧补习一下


#include&amp;lt;iostream&amp;gt;
#include&amp;lt;cstdio&amp;gt;
#include&amp;lt;cstring&amp;gt;
#include&amp;lt;algorithm&amp;gt;
#include&amp;lt;cmath&amp;gt;
#include&amp;lt...]]></description><category></category></item></channel></rss>