ACSL 2020 Finals - Intermediate Division

Programming Section

Starts in


The ACSL Finals has two parts: Programming Problems that will be done on this platform and Short Problems that will be completed elsewhere. In both sections, you are competing as an individual.

There are 2 programming problems, each worth 10 points. Each problem has been set up with code stubs that handle input/output and invoke a method that you will complete. You may implement your solution using C++, Python 3, or Java 8.

For each problem, there are 3 sets of Sample Data (called Test Cases) that may be used to debug and test your program. You may also create your own custom input for testing. Once you are satisfied, you must click on the Submit Code button and the platform will run your code using 10 sets of Test Data (again, called Test Cases). One point is awarded for each test case (not including the Sample Data test cases, of course) successfully passed.

You will never be able to see the Test Data while the contest is ongoing, but you will see how many Test Cases your code passed. Scoring is done by computer; there are no appeals.

Each time you submit your program for scoring, the HackerRank platform saves a copy of code. That said, make a copy of your code and save it away, just in case... You may resubmit programs without penalty as long as it is within the 3-hour time frame.

Good luck!


Prizes will be awarded to top students based on the total of their scores in the programming part and the short answers parts.


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

This is an individual competiation. You are expected to work indpendently and with no collaboration. Particpants may access printed or online language documentation, and may use a printer to print this problem or their code. No other resources - human, printed, or electronic - may be used.


  • Each program is worth 10 points.
  • A participant’s score is the number of the 10 test cases a participant’s code submission successfully passes.
  • If a participant submits more than one solution per program, then the participant’s score will be the highest score achieved.
  • The HackerRank leaderboard shows scores in the programming part of the contest only. Refer to the ACSL Leaderboard for total scores.

Sign up for ACSL 2020 Finals - Intermediate Division now.

Not a genuine coding contest?