c++ vector 用法:http://www.cnblogs.com/Nonono-nw/p/3462183.html 实现:https://www.cnblogs.com/33debug/p/6718613.html