Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vector<int> a{{2,4,6}};
- vector<int> b{{1,2,3,4,5}};
- vector<int> c{{-1,1-1,1,-1,1,-1,1}};
- vector<int> res = map([](int x, int y, int z) {return a*b*c;}, a,b,c);
- //res -> {-2,8,-18}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement