参考别人代码完成SRM 582 Level Three
SRM 583 Division II level one two