ACM 左偏樹(模板)

#include <iostream> using namespace std; struct Node { int Dat; int dist; Node *pLeft,*pRight; }; void Swap(Node * &pA,Node * &pB) { Node *pt=pA; pA=pB; pB=pt; } int Dist(N
相關文章
相關標籤/搜索