http://ti.jisuanke.com/problem/6