选课(背包类树形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 209 点赞 3 评论 316 浏览