#include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int data;
double data2;
node(){data = 55,data2=2.2;}
};
int main()
{
node *root = new node();
cout<<root->data<<" "<<root->data2<<endl;
return 0;
}
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int data;
double data2;
node(){data = 55,data2=2.2;}
};
int main()
{
node *root = new node();
cout<<root->data<<" "<<root->data2<<endl;
return 0;
}
2
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int data;
node *left,*right;
node(){data = 55,left=NULL,right = NULL;}
};
int main()
{
node *root = new node();
cout<<root->data<<endl;
if(root->left==NULL)
{
cout<<"yes"<<endl;
}
return 0;
}
3
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int data;
double data2;
node():data(55),data2(2.2){}
};
int main()
{
node *root = new node();
cout<<root->data<<" "<<root->data2<<endl;
return 0;
}
4
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
struct node
{
int data;
node *left,*right;
node():data(55),left(NULL),right(NULL){}
};
int main()
{
node *root = new node();
cout<<root->data<<endl;
if(root->left==NULL) cout<<"yes"<<endl;
return 0;
}