选课(背包类树形dp) 即在树上做背包#include<cstdio>#include<cstring>#include<algorithm>using namespace std;struct my{int next;int v;};const int maxn=1000+10;int a... Other 2023-11-15 51 点赞 0 评论 77 浏览