#include <iostream> #include <vector> #include <algorithm> int main() { std::vector<int> numbers = {5, 2, 9, 1, 5, 6}; std::sort(numbers.begin(), numbers.end()); std::cout << "Sorted numbers: "; for (const auto& num : numbers) { std::cout << num << " "; } std::cout << std::endl; return 0; }