CP0 Topic 1 Intro

Starts in


This contest contains 10 problems for Topic 1 of the CP0 course. The first 5 problems are examples, and solutions are provided. The last 5 problems are Homework problems.


  • 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.


  • Each challenge has a pre-determined score.
  • One has to pass all test cases of a challenge to earn the score for that challenge.

Sign up for CP0 Topic 1 Intro now.