Test your C++ programming skills by solving the given puzzle about copy elision and return value optimization.