Cornell University High School Competition Warm Up 3

Starts in


THIS WARM UP CONTEST IS CONSIDERABLY HARDER THAN THE PREVIOUS TWO! I've created it to have a better understanding of the level of the contestants. The actual contest will have problems with difficulty that range from "Unit Conversion" to harder than "Solving Problems II"

This is the third warm up round for the Cornell University Programming Contest 2018.

After the official contest time is over solutions with explanations will be released.

We encourage you to read these explanations and ask any questions you might have to Daniel Fleischman at

There are no official scores, but your codes will help us to select what problems should be in subsequent warm up rounds and in the actual competition.

It is paramount that you try to solve the problems!

Please ignore the "rules" below, they are inserted automatically by HackerRank.


  • The creator of this contest is solely responsible for setting and communicating the eligibility requirements associated with prizes awarded to participants, as well as for procurement and distribution of all prizes. The contest creator holds HackerRank harmless from and against any and all claims, losses, damages, costs, awards, settlements, orders, or fines.
  • Code directly from our platform, which supports over 30 languages. Learn more here.

Sign up for Cornell University High School Competition Warm Up 3 now.