#include <iostream>
using namespace std;
struct A
{
int& m_field;
A() : m_field{*new int{1}} {}
~A(){ delete &m_field; }
};
int main()
{
A a;
a.m_field += 2;
std::cout << "a.m_field = " << a.m_field << std::endl;
// your code goes here
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IEEKewoJaW50JiBtX2ZpZWxkOwoJQSgpIDogbV9maWVsZHsqbmV3IGludHsxfX0ge30KICAgfkEoKXsgZGVsZXRlICZtX2ZpZWxkOyB9CgkKfTsKCmludCBtYWluKCkKewogIEEgYTsKICBhLm1fZmllbGQgKz0gMjsKCiAgc3RkOjpjb3V0IDw8ICJhLm1fZmllbGQgPSAiIDw8IGEubV9maWVsZCA8PCBzdGQ6OmVuZGw7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglyZXR1cm4gMDsKfQoK