选课(背包类树形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 142 点赞 2 评论 215 浏览