【STL】12 二叉树set容器操作

只能把节点删了再加入新的节点,不能改节点的值     #include<iostream> #include<set> using namespace std; //仿函数 class mycompare{     public:         bool operator()(int v1,int v2){             return v1 > v2;         } };  vo
相关文章
相关标签/搜索