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
相關文章
相關標籤/搜索