SyntaxFix
Write A Post
Hire A Developer
Questions
Vector needs to be initialized before using it as cin>>v[i][j]. Even if it was 1D vector, it still needs an initialization, see this link
cin>>v[i][j]
After initialization there will be no errors, see this link