摘要:
Networking UVALive - 2515 kruskal模板题了,不解释#include#include#include#include#include#include#include#include#include#include#include#defi... 阅读全文
摘要:
Almost Union-Find UVA - 11987 这题的重点在于一些点会被删除,但是我们知道,如果不是根节点的还好,一旦删除根节点,该并查集的结构就被严重破坏了,因此我们选择设置一个虚点,他不存在,也不贡献点的数量,也不贡献值,仅仅是存在于那里为我们来维持结... 阅读全文
摘要:
X-Plosives UVA - 1160 A secret service developed a new kind of explosive that attain its volatile property only when a specific associ... 阅读全文
摘要:
食物链Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 90551 Accepted: 27213 Description动物王国中有三类动物A,B,C,这三类动物的食物链... 阅读全文
摘要:
A Bug's LifeTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 19429 Accepted... 阅读全文
摘要:
A - Tri Tiling POJ - 2663 In how many ways can you tile a 3xn rectangle with 2x1 dominoes? Here is a sample tiling of a 3x12 rectangle... 阅读全文