Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <vector>
- #include <algorithm>
- template <typename Container>
- void Print(Container cont) {
- for (const auto& a : cont) {
- std::cout << a << " ";
- }
- std::cout << std::endl;
- }
- int main() {
- std::vector<int> numbers{89, 42, 6, 14, 81, 91, 28, 64, 48, 66, 55, 17, 85, 22, 22, 63, 81, 45, 29, 67, 52, 47, 23, 98, 3, 32, 71, 53, 93, 49, 60, 88, 59, 37, 68, 55, 29, 73, 42, 45};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement