http://acm.hnu.cn/online/?action=problem&type=show&id=12814&courseid=267 转载于:https://www.cnblogs.com/zyue/p/3860024.html