Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 306 Bytes

File metadata and controls

16 lines (14 loc) · 306 Bytes
#include <iostream>
using std::cin; using std::cout; using std::endl; using std::cerr;
#include <vector>
using std::vector;
#include <algorithm>
#include <iterator>

int main() {
    vector<int> v;
    std::fill_n(std::back_inserter(v), 20, 0);
    for (auto a : v)
        cout << a << " ";
}