-
Notifications
You must be signed in to change notification settings - Fork 2
whatdoesthefoxsay
bradendubois edited this page Nov 8, 2021
·
8 revisions
ID: whatdoesthefoxsay
Difficulty: 2.3
CPU Time: 1 second
Memory: 1024 MB
For each of the T test cases, store the fox's message, then go through all of the following lines (until reaching the question), and store the third word on these lines (animal goes sound) in a map, a list, etc. and after reaching the question, go through the fox's original message, word by word; if the word is not in the map/list of non-fox noises, output it.