pls explain me why am i facing this issue
Core Dumped Error
u are accessing the index out of bound
since u use
l[x].push_back(y); where x = 4
hence in the graph constructor pass max_vertex+1
pls explain me why am i facing this issue
u are accessing the index out of bound
since u use
l[x].push_back(y); where x = 4
hence in the graph constructor pass max_vertex+1