This is my example solution to programming implementation questions in the Entrance Examination for the Master's Program in the Department of Communications and Computer Engineering at the Graduate School of Informatics, Kyoto University.
The problem statement for this example solution can be found here
Note
This Example Solution may contain errors.