请问为什么这么写
set <pile> :: iterator it = s.lower_bound((pile){x, cnt});
会比这么写快 10 倍左右?
set <pile> :: iterator it = lower_bound(s.begin(), s.end(), (pile){x, cnt})
经测试,除了速度不同,两者结果相同。