Spring 2021 Virtual Programming Contest

Apr 24, 2021 at Youtube Live

Partners

X-Camp Academy

Gold Sponsor

DigiPen

Winners

Advanced Division

1st - blair blezers: Gabriel Wu, Timothy Qian, Colin Galen, Maxwell Zhang [2500 points (1:25:00)]

2nd - RAFFLE REGISTRATION CUTOFF: Stanley Zhong, Benjamin Chen, Rohin Garg, William Tsin [2470 points (2:30:24)]

3rd - NERDS: Varun Ragunath, Justin Wu, Alex Chen, Leon Zhao [2470 points (2:52:05)]

Intermediate Division

1st - NaN x inf: Maggie Liu, Christopher Chen, Bing-Dong Liu, Kai Lum [2700 points (1:21:23)]

2nd - Sleepy Heads: Anish Rajeev, Sahil Parikh [2650 points (2:34:12)]

3rd - X-Camp KAAR: Kevin Shi, Andy Hu, Andrew Peng, Richard Feng [2610 points (2:48:15)]

Novice

1st - X-Camp XCamp++: Daniel Zhu, Roy Chen, James Lin, Wesley Guo [1500 points (33:34)]

2nd - Team Name: Bryan Zhu [1500 points (37:34)]

3rd - X-camp Team 12: Kevin Liu, Aiden Ye, Kyle Lei [1500 points (52:54)]

Problems, Solutions, & Test Cases

Now that the Spring 2021 contest is over, we have compiled the test cases and solutions. You may view and download them here.

Basic Information

View detailed logistics about the contest in our logistics document.

Time: 1:00PM – 5:00PM

Team Sizes: 1-4 people per team.

Cost: Free

Languages: Java, C++, C, Python 2, Python 3

Divisions: Novice, Intermediate, or Advanced

Guidelines

Novice: A division for programmers who have just started programming in the past few months and are not fully familiar with the syntax of commands.

Intermediate: A division for programmers who have started programming recently and/or are in one programming class but are reasonably proficient in a specific language.

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

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

Rules

  1. Each team member must be in middle school or high school.
  2. Teams must not receive any help from anyone outside the team.
  3. Teams may use multiple computers.
  4. Pre-written code is allowed, as well as online reference guides.

Schedule

1:00: Keynote Speech, Introduction to rules and schedule.

1:30: Contest begins.

4:30: Announce winners. Raffle.

5:00: End of the contest.

Scoring

Overview: There will be 15 programming problems sorted by difficulty from easiest to hardest. The points awarded is based off of number of test cases correct and difficulty of the problem. The correct output of for each test case of an easy problem awards 10 points, of a medium problem awards 20 points, of a difficult problem awards 30 points. Most problems will have five test cases; full score is 1,500 points. Teams will be restricted to ten submissions per problem. Submissions will be made on the contest page after you login.

The three teams with the most amount of points will receive medals and Amazon gift cards. If there is a tie, the winner is decided by the team that completed their last problem first.

Input and Output: The input and output will all be standard input and standard output. Use the system input and print systems for your specified language.

Practice

Want to sharpen your programming skills with your team before the contest? Solve old TeamsCode problems live through CodeJoust!

Note: CodeJoust is currently in beta, but is being rapidly developed. For suggestions or bug reports, contact support@codejoust.co.

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:

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

Example Output:

72
55
4
-8
49

For code solutions to this golem problem, please check out our Java, Python, or C++ solutions depending on your preferred language.

Sponsors

Partner: X-Camp

X-Camp Academy

About X-Camp Academy:

X-Camp Academy was founded in August 2017 in Silicon Valley by two Google software engineers. Their mission is to inspire and cultivate the next generation of computer science and artificial intelligence talents, which they believe will have a positive impact on the future. The younger generations will have unlimited opportunities at X-Camp for many reasons.

They have a unique curriculum, inherited from Mr. Xianyou Xu, a Chinese diamond-level international gold medal coach. Mr. Xu has been training students to participate in programming competitions, especially Olympics in Informatics, for more than 20 years.

X-Camp prioritizes personalized education, with problem sets tailored to each student’s needs and an enrollment system that encourages grade skipping. By participating in team-based competitions and facilitating frequent group study sessions, X-Camp also fosters an environment of collaboration to build each student’s confidence in their ability to code.

X-Camp’s staff are composed of senior software engineers from major technology companies in Silicon Valley. They have strong support from international and domestic competition winners.

For more information, please visit their website.

Gold Sponsor: DigiPen

DigiPen

About DigiPen:

Since 1988, DigiPen Institute of Technology has been preparing students to succeed as skilled engineers, artists, and designers in the growing technology industries. An educational pioneer, DigiPen is the first college in the world to offer a bachelor’s degree in video game technology and development. Today, they offer a wide range of technology-focused programs, all with an eye toward the career opportunities of tomorrow.

Their programs are intentionally designed to reflect the standards and practices of the professional industries: Small teams with different backgrounds and skills collaborate to apply their knowledge, overcome challenges, and build amazing things together.

DigiPen graduates go on to rewarding careers at some of the world’s leading tech companies, game studios, and startups. If you play video games, you’ve probably played at least one of more than 1,600 commercial titles developed by a DigiPen graduate.

Some highlights:

· Ranked in the top 5 of The Princeton Review’s Top Game Design Schools for the last 12 years

· DigiPen student games have won 57 Independent Games Festival awards (more than any other school)

· DigiPen graduates are credited on 1,600+ commercial game titles

For more information, please visit their website.