<>.
Vector<Vector<int>> foo; // no Vector<Vector<int> > foo; // yes
\042. Is it a bug? What does it mean?
#include "random.h" ... int r = randomInteger(min, max); // inclusive
Vector, just pick a random index and then go access that index.
If it doesn't have indexes, like a set or queue, pick a random index based on the size, and then advance forward (e.g. in a foreach or while loop) that many times and grab the element found there.
myinput.txt file?