Before accessing any elements, you must first set the vector of vectors to the right size.
You may do it this way:
// assumes using std::vector for brevity
vector<vector<int>> matrix(RR, ...READ MORE
Jun 16, 2022
in C++
by
Damon
• 4,960 points
•
1,413 views