-
Notifications
You must be signed in to change notification settings - Fork 2
peasoup
bradendubois edited this page Oct 7, 2021
·
9 revisions
ID: peasoup
Difficulty: 2.2
CPU Time: 1 second
Memory: 1024 MB
For every case, read the restaurant name and store it, and read every of the k items into a menu (perhaps a map). After reading all the items, if you have seen both "pea soup" and "pancakes", output the name and terminate, otherwise, after seeing every restaurant, output "Anywhere is fine I guess".