http://m.blog.csdn.net/blog/index?username=jtjy568805874 怕有人收不到 转个大神链接 在CSU里面 http://acm.csu.edu.cn/OnlineJudge/problemset.php?page=9