#include #include #include using namespace std; int main() { vector a(3); vector b(3); vector c(3); iota(a.begin(), a.end(), 1); fill(b.begin(), b.end(), 10); transform(a.begin(), a.end(), b.begin(), c.begin(), plus() ); copy(c.begin(), c.end(), ostream_iterator(cout, " ") ); cout << endl; return 0; }