二叉树遍历方式:
头文件:#include
pair<类型1,类型2>变量名;
pair<int,int> a(100,23),b; b=make_pair(500,236); if(a<b) cout<<a.second<<endl;//大小比较,先比较第一个再比较第二个