1075 PAT Judge (25 point(s))

题解 vv.resize(int n,element)表示调整容器vv的大小为n,扩容后的每个元素的值为element,默认为0 resize()会改变容器的容量和当前元素个数  #include<cstdio> #include<string> #include<vector> #include<algorithm> using namespace std; struct node { int
相关文章
相关标签/搜索