Code Golf v1.0, Apeireon'20

Longer isn't always better.

Starts in


Imagine you are giving a coding contest and have spent the last 20 minutes on a problem and finally you submit it and it's accepted. You later find that some top-level coders have done it in less than a minute! What is their secret? Do they have a typing speed more than 20X that of a normal person? The real answer is NO, usually a high speed isn't the result of unusual typing speed, but that of super-short and elegant code. In fact, it often seems that code length is inversely related to coder strength and hence it's good to encourage the writing of short code: Apeireon, IIT Patna presents to you in its very first edition, Code Golf v1.0, a competitive coding event in which the aim is to solve problems while writing as short code as possible, strictly in C++ only.


  • Prizes worth ₹15K will be given to the top participants.
  • You must register on the link to be eligible for prizes.


  • 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.
  • HackerRank supports all languages but for this particular contest you are allowed to submit only in C++.
  • There will be 5-6 problems, each having a predetermined score.
  • You will be given 2 hours to solve all the challenges.
  • The decision of the organizers in declaring the results will be final. No queries in this regard will be entertained.
  • Any participant found to be indulging in any form of malpractice will be immediately disqualified.


  • You can submit solutions as many times as you'd like.
  • There are no penalties for incorrect submissions.
  • Whitespaces (including newline) will not be considered while counting the number of characters.
  • For a particular question, submission with highest score will be counted.

Sign up for Code Golf v1.0, Apeireon'20 now.

Not a genuine coding contest?