Note that the attached solutions represent only one way
to solve the problems. For most problems there may be many
different designs and implementations which produce correct results.
Also, keep in mind, that you may have to change a bit the headers
of some files (*.cpp) to make them compile and run on your