摘要:
在c++中,vector是一个十分有用的容器,下面对这个容器做一下总结。 1 基本操作 (1)头文件#include<vector>. (2)创建vector对象,vector<int> vec; (3)尾部插入数字:vec.push_back(a); (4)使用下标访问元素,cout<<vec[0 阅读全文
posted @ 2017-05-20 13:26
euzmin
阅读(210)
评论(0)
推荐(0)
摘要:
A. Candy Bags time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Candy Bags time limit pe 阅读全文
posted @ 2017-05-20 13:20
euzmin
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号