![[Dept of Engineering]](http://www.eng.cam.ac.uk/images/house_style/engban-s.gif)
[fontsize=\small,frame=single,formatcom=\color{progcolor}]
#include <vector>
#include <list>
#include <algorithm>
#include <iostream>
using namespace std;
int main()
{
vector<int> V;
V.push_back(0);
V.push_back(1);
V.push_back(2);
list<int> L(V.size());
reverse_copy(V.begin(), V.end(), L.begin());
exit(0);
}