HDU 5469(2015 ICPC上海网络赛)---Antonidas(树上分治)
题目链接
http://acm.hdu.edu.cn/showproblem.php?pid=5469Problem Description
Given a tree with N vertices and N−1 edges. Each vertex has a single letter Ci. Given a string S, you are to choose two vertices
原创
2016-10-31 20:07:53 ·
302 阅读 ·
0 评论