2018codem初赛A轮

Link


C

分析

分析可知lca+预处理即可


Summary:

菜就应该打不到T衫

原文地址:https://www.cnblogs.com/Deadline/p/9161490.html