Skip to content

Instantly share code, notes, and snippets.

@varshneydevansh
Created March 3, 2018 06:52
Show Gist options
  • Save varshneydevansh/e01ca46c5d74d2afe5cbe91d6920a7eb to your computer and use it in GitHub Desktop.
Save varshneydevansh/e01ca46c5d74d2afe5cbe91d6920a7eb to your computer and use it in GitHub Desktop.
#include <bits/stdc++.h>
using namespace std;
int main() {
vector <int> V;
V.push_back(1);
V.push_back(2);
V.push_back(5);
V.push_back(7);
V.push_back(9);
for(int i=0; i<V.size(); i++)cout<<V[i]<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment