![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图论
文章平均质量分 88
wei.yinfu
这个作者很懒,什么都没留下…
展开
-
东大OJ-Prim算法
1222: Sweep the snow 时间限制: 1 Sec 内存限制: 128 MB 提交: 28 解决: 18 [提交][状态][讨论版] 题目描述 After the big big snow yesterday, NEU became a beautiful silver world.In the morning, poor michaelalan got a sho原创 2014-08-02 05:08:34 · 806 阅读 · 0 评论 -
东大oj-1591 Circle of friends
题目描述 Nowadays, "Circle of Friends" is a very popular social networking platform in WeChat. We can share our life to friends through it or get other's situation. Similarly, in real life, there is原创 2015-06-10 14:03:42 · 549 阅读 · 0 评论 -
2015年辽宁省赛Interesting Tree
1578: Interesting Tree时间限制: 1 Sec 内存限制: 128 MB 提交: 119 解决: 15 [提交][状态][讨论版]题目描述Recently, Miss Huang want to receive a Tree as her birthday gift! (What a interesting person!) As a interesting pers原创 2015-06-10 09:17:39 · 463 阅读 · 0 评论 -
东大OJ 2SAT 异或
看了十年才懂 懂了十年才会 会了十年才会写 写了十年才写完 写完了十年才能改对 #include #include struct res{ int steps; int father; }; int a[50001]; res findfather(int me){ res r; r.steps = 0; while (a[me] != -1){ me = a[me]; r.steps+原创 2014-08-01 18:50:03 · 748 阅读 · 0 评论