分享一下ACM网站。 PKU : http://poj.org/problem?id=3278 https://blog.csdn.net/dreamzuora/article/details/52747928