如果你删除工资低于最低标准的部分是这样写的,查前驱的时候要包含相等的情况。
int qwq=MIN-1; while(getlast(qwq)!=-inf)romove(rt,qwq=getlast(qwq)),--now,++Cnt;