Editorial for COCI '16 Contest 3 #1 Imena
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.
In order to solve this task, we read the book word by word. Let cnt
be a counter initially set to zero. While iterating over the words of the book, we increment the counter by
Comments
maybe im just misunderstanding the problem but whats the way of calculating it