mark:1.http://www.51nod.com/Challenge/Problem.html#problemId=3173
2.http://www.51nod.com/Challenge/Problem.html#problemId=3152
3.https://codeforc.es/contest/1446/problem/C
4.https://codeforc.es/gym/101864/attachments G题