100 solution for http://acm.hrbeu.edu.cn/index.php?act=tijie