#include <iostream>
#include <iomanip>
#include <memory>
using namespace std;
struct A {std::unique_ptr<char> ptr;};
int main(int argc, const char * argv[])
{
unique_ptr<int> x;
cout << (x == nullptr) << endl;
A a;
A b{};
cout << (a.ptr == nullptr) << endl;
cout << (b.ptr == nullptr) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8aW9tYW5pcD4KI2luY2x1ZGUgPG1lbW9yeT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgoKc3RydWN0IEEge3N0ZDo6dW5pcXVlX3B0cjxjaGFyPiBwdHI7fTsKCgppbnQgbWFpbihpbnQgYXJnYywgY29uc3QgY2hhciAqIGFyZ3ZbXSkKewogICAgdW5pcXVlX3B0cjxpbnQ+IHg7CiAgICBjb3V0IDw8ICh4ID09IG51bGxwdHIpIDw8IGVuZGw7CiAgICBBIGE7CiAgICBBIGJ7fTsKICAgIGNvdXQgPDwgKGEucHRyID09IG51bGxwdHIpIDw8IGVuZGw7CiAgICBjb3V0IDw8IChiLnB0ciA9PSBudWxscHRyKSA8PCBlbmRsOwoKfQo=