题目链接:http://codeforces.com/problemset/problem/325/B 思路: (引用博客:https://blog.csdn.net/qq_41958841/article/details/82900074) 只看懂了题意和做法,代码过几天研究,加油!!