摘要: 链接: https://vjudge.net/problem/POJ 2553 题意: We will use the following (standard) definitions from graph theory. Let V be a nonempty and finite set, it 阅读全文
posted @ 2019-07-12 23:52 YDDDD 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 1659 题意: 未名湖附近共有N个大小湖泊L1, L2, ..., Ln(其中包括未名湖),每个湖泊Li里住着一只青蛙Fi(1 ≤ i ≤ N)。如果湖泊Li和Lj之间有水路相连,则青蛙Fi和Fj互称为邻居。现在已知每只青蛙的邻 阅读全文
posted @ 2019-07-12 16:36 YDDDD 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 1904 题意: Once upon a time there lived a king and he had N sons. And there were N beautiful girls in the kingdom and 阅读全文
posted @ 2019-07-12 15:35 YDDDD 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 链接: https://vjudge.net/problem/POJ 1236 题意: 一些学校连接到了一个计算机网络。网络中的学校间有如下约定:每个学校维护一个列表,当该学校收到软件或信息后将会转发给列表中的所有学校(也就是接收方列表)。需要注意的是如果B学校在A学校的接收方列表中,A学校不一定会 阅读全文
posted @ 2019-07-12 10:19 YDDDD 阅读(135) 评论(0) 推荐(0) 编辑