<>.
Vector<Vector<int>> foo; // no Vector<Vector<int> > foo; // yes
Set or Map of other collections? AKA, why am I getting this error?
no match for 'operator<' (operand types are '....
Set or Map, it must have some kind of ordering so that the Set/Map can sort them into order.
Collections like Vectors or Stacks don't have a sorting to them, so they can't be put into a Set or used as a key in a Map.
If you want this kind of nesting, you could use a HashSet or HashMap.
< to do this.
So you can't store an element type that doesn't have a < operator and therefore cannot be ordered.
Choose a different type of compound collection.
Lexicon?
#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?