📅  最后修改于: 2022-03-11 14:44:58.414000             🧑  作者: Mango
#include
using namespace std;
int main(){
vector v1{10, 20, 30, 40, 50};
//removing elemenets
v1.pop_back(); //removes 50
v1.pop_back(); //removes 40
}