📅  最后修改于: 2022-03-11 14:44:52.172000             🧑  作者: Mango
#include // Vector
#include // Reverse
using namespace std;
int main()
{
vector nums{4,1,2,1,2};
reverse(nums.begin(), nums.end());
return 0;
}