AT_abc317_c [ABC317C] Remembering the Days 题解

· · 题解

数据很小,考虑直接枚举起点搜一遍图,在搜的时候处理当前经过的边权和的最大值即可。代码太简单就不放了。