Editorial for WC '17 Contest 4 J3 - The Infinity Stones
                Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
        Submitting an official solution before solving the problem yourself is a bannable offence.
We'll need to iterate over the  Infinity Stone names in alphabetical order and output each one that's not present in the given list of 
 names. To determine whether a certain Infinity Stone name 
 should be outputted, we can iterate over all 
 of the given names while keeping track of whether or not we've found one which is equal to 
.
Comments