Editorial for COCI '08 Contest 6 #1 Buka


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.

For multiplication, the number of zeroes in the result is the sum of the numbers of zeroes in both numbers. For addition, only a single digit in the larger number will change: a zero into a one, or the leading one into a two.


Comments

There are no comments at the moment.