"Informatics Olympics One Pass": Chapter 9 Section 1 Dynamic Planning Foundation (C++ Edition)