<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[YYYYYY1999的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/YYYYYY1999</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; YYYYYY1999]]></copyright><item><title><![CDATA[山东大学数据库实验]]></title><link>https://blog.youkuaiyun.com/YYYYYY1999/article/details/108810008</link><guid>https://blog.youkuaiyun.com/YYYYYY1999/article/details/108810008</guid><author>YYYYYY1999</author><pubDate>Wed, 07 Oct 2020 09:40:01 +0800</pubDate><description><![CDATA[山东大学数据库实验
2-1
create or replace view test2_01 as 
(select sid,name  from pub.student where sid not in 
(select sid from pub.student_course)
)

2-2
create or replace view test2_02 as 
select pub.student.sid ,pub.student.name  from 
pub.student,pub.student_c]]></description><category></category></item><item><title><![CDATA[Codeforces1337]]></title><link>https://blog.youkuaiyun.com/YYYYYY1999/article/details/105557210</link><guid>https://blog.youkuaiyun.com/YYYYYY1999/article/details/105557210</guid><author>YYYYYY1999</author><pubDate>Thu, 16 Apr 2020 22:55:49 +0800</pubDate><description><![CDATA[A
题意：给你4个从小到大的数a,b,c,d
找出任一一组分别在[a,b],[b,c],[c,d]中的三个数，使得他们可以构成三角形的三边长。题目保证答案存在。
解：b,c,c 必定符合题意。输出即可
#include &lt;iostream&gt;
#include &lt;cstdio&gt;
#include &lt;queue&gt;
#include &lt;algorithm&gt;...]]></description><category></category></item><item><title><![CDATA[Codeforces 1272E Nearest Opposite Parity]]></title><link>https://blog.youkuaiyun.com/YYYYYY1999/article/details/104353456</link><guid>https://blog.youkuaiyun.com/YYYYYY1999/article/details/104353456</guid><author>YYYYYY1999</author><pubDate>Mon, 17 Feb 2020 10:39:25 +0800</pubDate><description><![CDATA[关于此题：
1.咋一看，不就是无脑dfs吗。一通乱码，然后 wawawawawa。。。。。。
经过仔细思考 反反复复举例
从    【    8    ：  2 2 1 3 4 5 6 7；】 发现一丝端倪。
第七个点7(6) 的路径应该为2，却跑出了-1；

调试以后发现问题所在：
如果dfs 第一个点的话  1(2)&gt;3(1)&gt;2(2)&gt;4(3)&gt;7(6) 当转移到第7...]]></description><category></category></item><item><title><![CDATA[## POJ2367  enealogical tree]]></title><link>https://blog.youkuaiyun.com/YYYYYY1999/article/details/104028827</link><guid>https://blog.youkuaiyun.com/YYYYYY1999/article/details/104028827</guid><author>YYYYYY1999</author><pubDate>Sat, 18 Jan 2020 11:57:04 +0800</pubDate><description><![CDATA[POJ2367  enealogical tree
本题是一道拓扑序列题。
有两种解法。
解法一(BFS)：
预定义：一个栈–存放答案。一个一维数组–存放每个点的入栈情况。N个动态数组–存放每个点的父亲。
1.读入数据，记录每个结点的子数以及每个子点的父亲。
2.将子数为0的点，即无后代的点放入队列。
3.释放队列。令队列中的点，即子数为0的点的所有父亲的子数减一。若遇到某点子数减一后为0且此点不...]]></description><category></category></item></channel></rss>