- 1
Can [ ] be used to dereference a vectorđ¤đ¤?
like vector<vector> myvector; myvector[x][y] = 12; https://code.sololearn.com/cssF62918OZu/?ref=app
1 Answer
0
you have used vector<vector> so it should work.
like vector<vector> myvector; myvector[x][y] = 12; https://code.sololearn.com/cssF62918OZu/?ref=app