• Source
    1. #include <iostream>
    2. #include <vector>
    3. using namespace std;
    4.  
    5. int main() {
    6. // your code goes here
    7. vector<int> v = { 0, 1, 2, 3 };
    8. for( auto i : v){
    9. cout << i << endl;
    10. }
    11. return 0;
    12. }