Editorial for COCI '08 Contest 5 #1 Ljesnjak


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.

Scan the string, counting letters. Upon encountering one of the given sequences, skip all letters in the sequence, but count it as one letter.


Comments

There are no comments at the moment.