第13届东北四省赛补题
摘要:
Problem - E - Codeforces 题意就是给一颗树G,然后图L(G)定义为,把树的每条边作为节点,相邻的两条边(在图G中共享一个节点的边)之间有一条路径,路径的权值为这两条边的权值和。求图L(G)的最小生成树。 #include <cstdio> #include <algorith 阅读全文
posted @ 2023-04-15 20:52 玛卡巴卡要ac 阅读(32) 评论(0) 推荐(0)
posted @ 2023-04-15 20:52 玛卡巴卡要ac 阅读(32) 评论(0) 推荐(0)