You are viewing a single comment's thread. Return to all comments →
int n,q; cin>>n>>q; vector> arr(n); for (int i=0;i>size; arr[i].resize(size); for (int j=0; j>arr[i][j]; } } while (q--) { int x,y; cin>>x>>y; cout<
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
int n,q; cin>>n>>q; vector> arr(n); for (int i=0;i>size; arr[i].resize(size); for (int j=0; j>arr[i][j]; } } while (q--) { int x,y; cin>>x>>y; cout<