樹形dp模板(Java版)

最簡單的樹形dp,樹上最大點權獨立集java import java.util.Scanner; public class Main{ static class Edge{ int v,next; Edge(int v,int next){ this.v=v; this.next=next;
相關文章
相關標籤/搜索