s="ui bottom attached segment font-content"><div style="position: relative; overflow: hidden;"><div style="line-height: 140%" align="left"><span style="font-size: medium"><span style="color: #444444; line-height: 140%">Bartie and his friends compete in the Team Programming Contest. There are n contestants on each team, and each team has access to n &nbsp;computers. The contest lasts t minutes, during which the contestants are to solve m programming problems. Furthermore, penalties are imposed on the teams: 