Use std::greater to compaire pair instead of using lambda for boxes heap
Don't reinvent the wheel, just use std::greater<****> since it mirrors the behavior of the previous priority_queue we replaced here.
Showing
Please register or sign in to comment