Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<vector>
- using namespace std;
- int main ( ) {
- int N;
- cout << "N: ";
- cin >> N;
- vector<int> V(N);
- cout << "V size: " << V.size() << endl;
- for(int i = 0; i < V.size(); i++) {
- cout << V[i] << " ";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement