vector容器三种遍历方法
int main() {
int tank, bottle_1, bottle_2;
tank = 10, bottle_1 = 3, bottle_2 = 7;
//cin >> tank >> bottle_1 >> bottle_2;
int* p = new int[3]();//10个值初始化为0的int
*p = tank;
*(p
vector容器三种遍历方法
int main() {
int tank, bottle_1, bottle_2;
tank = 10, bottle_1 = 3, bottle_2 = 7;
//cin >> tank >> bottle_1 >> bottle_2;
int* p = new int[3]();//10个值初始化为0的int
*p = tank;
*(p