Search found 2 matches

by ikkaro
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

:D i hope that you can understand me, my english isn't good
by ikkaro
Sat Aug 19, 2006 1:00 am
Forum: Volume 110 (11000-11099)
Topic: 11060 - Beverages
Replies: 96
Views: 57192

check this!!

check this input

Code: Select all

3
vodka
wine
beer
3
wine vodka
wine vodka
beer wine
the corect output:

Code: Select all

Case #14: Dilbert should drink beverages in this order: beer wine vodka.
i hope help you..

Go to advanced search