11:知识点:注意C++11新标准中vector初始化的方法(除了array以外的标准库容器皆适用)
vector<int> vec; // 0
vector<int> vec(10); // 0
vector<int> vec(10,1); // 1
vector<int> vec{1,2,3,4,5}; // 1,2,3,4,5
vector<int> vec(other_vec); // same as other_vec
vector<int> vec(other_vec.begin(), other_vec.end()); // same as other_vec
12:接受迭代器创建拷贝,拷贝的是两个迭代器之间的内容,而直接接受一个容器,就是拷贝整个容器的内容了