Editorial for COCI '08 Contest 3 #2 Kemija
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.
Each time a vowel occurs in the original sentence, the encoded sentence will have the letter p
and the same vowel again. We need to find all vowels in order and, for each, delete the following two letters.
Comments