[洛谷 2866,poj 3250]Bad Hair Day 题目链接 https://www.luogu.org/problem/P2866 http://poj.org/problem?id=3250 继续阅读[洛谷 2866,poj 3250]Bad Hair Day