MIHS Programming Contest

Platinum Sponsors

Smart Coding School

Gold Sponsors


Bronze Sponsors


Sign Up Here

If you need help with registration, email us at [email protected].

Basic Information

Cost: FREE

Time: 9:45AM – 3:30PM

Location: Mercer Island High School

Team Sizes: 1-3 people per team.

Languages: Java, C++, C#, and Python

Divisions: Intermediate or Advanced

General Guidelines

Intermediate: A division for programmers who have recently started programming and/or are in one programming class.

Advanced: A division for programmers with more experience, typically having finished one programming class and are fairly knowledgeable about a specific language.

Note: These are guidelines, not rules. You may choose to sign up for either division.


  1. Each team member must be in middle school or high school.
  2. Teams must bring a charger and one computer that has a USB port and can run code in Java, C++, C#, or Python. If you choose to use another language, you must make sure the output will be readable. You also will not be provided with guidance on how to read input from files.
  3. No internet access is allowed during the contest to prevent people from looking up the solutions to problems, but books, printed code, and anything else on paper are allowed.


9:45: Arrive, check in begins.

10:00: Introduction and keynote speaker.

10:45: Explanation of rules and schedule.

11:15: Practice problem, working with reading input.

12:00: Contest begins.

12:30: Lunch while the competition goes on.

3:00: Announce winners. Raffle.

3:30: Go home.

Sponsor Information

Platinum Sponsor: Smart Coding School

Smart Coding School

Gold Sponsor: Audian


Bronze Sponsor: Crelate


About Smart Coding School:

Smart Coding School is a computer science education school established in March 2016. We develop computer science & engineering curriculum and offer courses for middle school and high school students (12 ~ 18 years old), and mainly provide Java Programming, data structures and algorithms, computer science A AP Test Prep and USA Computing Olympiad (USACO) training courses. In 2017 Computer Science A AP Test, there are 95% students receiving 5 out of 5 scores. Many students successfully got into Platinum, Gold and Silver level in USA Computing Olympiad competition. In the local coding competitions, our students took 2nd place in the advanced level and 1st place in the intermediate level.

Smart Coding School is powered by passionate software engineers from local top hi-tech companies such as Amazon, Microsoft. We believe that early computer science education can make a big difference for students. Our passion is to inspire kids & teens to see things differently from engineering perspectives and to believe that they can make a big impact through technology. Smart Coding School is all about students and prepare students for the future with technology.

About Audian:

Audian is a software company redefining the telecom industry. Our focus is on increasing our customers’ Telecompetance by leveraging the latest is software and technology to simplify the complexities once associated with telecom, giving back time and energy to focus on growing their business. We do this through highly scalable, self-service, cloud-based telecom solutions that enable customers to easily create and manage their business phone system.

About Crelate:

Crelate helps business connect people with opportunity by providing fast, flexible talent engagement and recruiting software.

Contest Organizers

Alan Bi - Main Organizer
Chris Elliott - Main Organizer
Lucille Shield - Main Organizer
Alex Patel - Director of Logistics
Thomas Short - Director of Finance
Jason Zhang - Director of Judging


Overview: There will be many programming problems, sorted by difficulty from easiest to hardest. All problems will be worth 50 points maximum. Each incorrect submission will reduce the points received from that problem by 5 upon completion. The three teams with the highest scores will receive medals. If there is a tie in points, the winner is decided by the team that completed their last problem first.

Input and Output: Read input from text file and output to console (answers checked manually by judges).

Sample Problem: You are facing off against a golem. In order to beat it, you must cast a magic spell. You are given two numbers. Your task is to find the largest number possible either by adding or multiplying the two numbers together in order to cast the strongest spell.

Input: The first line contains an integer L. The following L lines will each contain two numbers, N1 and N2.

Output: For each set of two numbers, print the largest number possible through either adding or multiplying the two numbers together.

Example Input:

6 12
1 54
2 2
9 -17
-7 -7

Example Output:



This pdf will describe how to read a txt file in Java, C#, C++, and Python, using a Mac or PC.

Reading Input Files