http://acm.buaa.edu.cn/contest/195/problem/H-%E9%9A%BE%E9%A2%98(10)/
无法访问你给的链接。。。