Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- struct hi
- {
- bool operator () (double & a, double & b) const
- {
- return a > b;
- }
- };
- priority_queue < double, vector<double>, hi > q;
- //... other operations.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement