vector <int> res; //將n入到向量尾端 res.push_back(n); //刪除向量尾端的元素,無返回值 res.pop_back() //返回尾部的引用 int a = res.back() ...
確定! 回上一頁