
Search found 2 matches
- Wed Aug 23, 2006 7:21 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11060 - Beverages
- Replies: 96
- Views: 57192
the problem is in the Queue
hi!, your problem is in the queue, use a priority_queue in inverse order
i hope that you can understand me, my english isn't good

- Sat Aug 19, 2006 1:00 am
- Forum: Volume 110 (11000-11099)
- Topic: 11060 - Beverages
- Replies: 96
- Views: 57192
check this!!
check this input
the corect output:
i hope help you..
Code: Select all
3
vodka
wine
beer
3
wine vodka
wine vodka
beer wine
Code: Select all
Case #14: Dilbert should drink beverages in this order: beer wine vodka.