摘要:
AA monster is attacking the Cyberland!Master Yang, a braver, is going to beat the monster. Yang and the monster each have 3 attributes: hitpoints (HP)... 阅读全文
摘要:
题意给一棵树,每个点有权值,求出有多少子树满足最大最小权值差#include#includeusing namespace std;const long long maxa = 2005;long long a[maxa];long long edge[maxa][maxa];long long o... 阅读全文