Underclassmen Defeat 19 Teams in Coding Contest

HACC Comp BANN


Christian Burke-Bowman (Class of ’22), Justin Yohn (Class of ’20), Ryder Webster (Class of ’21)

 

A freshman, sophomore and junior at Middletown Area High School defeated 19 area high school teams predominantly consisting of juniors and seniors in the 34th Annual Computer Problem Solving Contest at Harrisburg Area Community College. Christian Burke-Bowman (Class of ‘22), Ryder Webster (Class of ‘21), and Justin Yohn (Class of ‘20) didn’t let the age of their competitors intimidate them. Instead, they attacked the two-hour challenge using their combined knowledge of coding and became the only team in the competition to complete all seven problems correctly.

The 20 teams were challenged to solve seven Game of Thrones themed problems using only computer code. “It was stressful, but fun,” said Christian. “We chose to use Python but you could use any code you wanted; like java, C#, C++, or java script. When we finished, we were pretty confident we got them all right because they all passed the tests they give you to check your coding.” Justin added, “We finished with about 10 minutes to spare and we went back and added comments.”

“Beforehand, I told them we were going to win,” said Christian. But one of his teammates didn’t quite have the same confidence. “I didn’t think we’d have a chance,” says Justin. “We weren’t allowed to prepare at all so we didn’t know what to expect. This was a new competition for us and we really didn’t know much about it.” So the MAHS team went in cold, but came out hot. They were the only team to finish all seven problems accurately allowing them to capture the top spot over their older competitors. The judges noted that, in addition to their coding accuracy, their programming efficiency and documentation were completed extremely well and set them apart from the other teams.

Ryder’s participation in the contest is a family tradition. When his father was a high school sophomore, the exact same grade as Ryder, he competed in the very first year of this same competition 34 years ago. But Ryder has bragging rights over his father. His dad’s team didn’t leave with a first place finish.


THINK YOU HAVE WHAT IT TAKES TO PLACE FIRST IN A COMPUTER CODING CONTEST?
TAKE A STAB AT ONE OF THE PROBLEMS THE MAHS TEAM HAD TO SOLVE!

The “Nameday” is a custom in the society of the Seven Kingdoms. It is an annual celebration commemorating the name of a person and serves to calculate his or her age. Babies are named the same day they are born. When it’s the King’s “Nameday”, there are always tournaments and this year, one of the tournament categories is archery. This year, the first prize is 5000 Golden Dragons, of course.

In a 4-person round-robin archery tournament, each person will go up against the other three resulting in six matches. The user will input the games results from the first person’s view as “W” for sin, “L” for loss, and “T” for tie. A person’s score is determined by 3 points for each win and 1 point for ties. Losses are zero points.

The schedule is Arya vs Bran; Arya vs Cersei; Arha vs Daenerys; Bran vs Cersei, Bran vs Daenerys; Cersei vs Daenerys.

Input: User will input six letters (W, L, or T) corresponding to the matches.

Output: Output the names and scores in order from highest to lowest. If there is a tie, order doesn’t matter.

Sample Input:
W W W L L T

Sample Output:
Arya 9 pts
Cersei 4 pts
Daenerys 4 pts
Bran 0 pts

Test Data I:
W L W L W L

Test Data II:
W L W L T T

Skip to toolbar