摘要: 题目链接https://www.lydsy.com/JudgeOnline/problem.php?id=3052思路达成成就:卡BZOJ*1(逃) 这道题……大概就是一道树上莫队吧。 A点B点跳的方法很玄学,具体见代码。代码#include #includ... 阅读全文