instead of
tryCode:x[i].push_back(r);
that way you will get bounds checking where [] doesn't check bounds.Code:x.at(i).push_back(r);
instead of
tryCode:x[i].push_back(r);
that way you will get bounds checking where [] doesn't check bounds.Code:x.at(i).push_back(r);