#include <iostream>
#include <array>
std::array<int, 2> array(int x, int y) {
std::array<int, 2> result = {x, y};
return result;
}
int main()
{
std::array<int, 2> order = {1,2};
std::array<int, 2> nums = array(1, 2);
if(nums == order)
std::cout << "The arrays are equal\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8YXJyYXk+CgpzdGQ6OmFycmF5PGludCwgMj4gYXJyYXkoaW50IHgsIGludCB5KSB7CiAgICBzdGQ6OmFycmF5PGludCwgMj4gcmVzdWx0ID0ge3gsIHl9OwogICAgcmV0dXJuIHJlc3VsdDsKfQoKaW50IG1haW4oKQp7CiAgICBzdGQ6OmFycmF5PGludCwgMj4gb3JkZXIgPSB7MSwyfTsKICAgIHN0ZDo6YXJyYXk8aW50LCAyPiBudW1zID0gYXJyYXkoMSwgMik7CiAgICBpZihudW1zID09IG9yZGVyKQogICAgICAgIHN0ZDo6Y291dCA8PCAiVGhlIGFycmF5cyBhcmUgZXF1YWxcbiI7Cn0=