Editorial for CCC '96 S2 - Divisibility by 11


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.

Author: d

Do not use a 64-bit integer to store the input, because the input is too large. Instead, use a string to store the input.

The rest of the implementation is left as an exercise to the reader.


Comments

There are no comments at the moment.