#include <iostream>
#include <algorithm>
#include <vector>
#include <utility>

struct Point
{
    Point(int x = 0, int y = 0):
        x(x), y(y)
    {}

    int x, y;
};

std::vector<Point> &&getPoints()
{
    std::vector<Point> result;
    for (int i = 0; i < 10; ++i) {
        result.push_back(Point(i, i));
    }
    return std::move(result);
}

int main(int argc, char *argv[])
{
    auto points = getPoints();
    for (Point p: points) {
        std::cout << p.x << ' ' << p.y << std::endl;
    }
    
    return 0;
}
