Textbook: Steven S. Skiena, Miguel
A. Revilla, Programming
Challenges, The Programming Contest Training Manual Series:
Texts in Computer Science, Springer, 2003 [Call Number: Ч 681.325.3
/ S 66][Moodle]
You have to complete the following
algorithm:
First step: