Rated Contest 2

Welcome to the second MCPT Rated Contest! Happy New Year and happy problem solving everyone!

The problem setters are Trent, JojoTheWarrior, ninja888, and pingu.

Before writing the contest, please ensure you have read the following:
  • Duration: 3 hours
  • Number of problems: 5, full feedback with no clipped output (you will see the results of your submissions instantly).
  • It is highly recommended to read all the problem statements. Some problems offer partial marks in the form of subtasks, solve these for those extra points!!
  • Ties will be broken by the maximum submission time that increased score with no penalties.
  • Scoreboard will be hidden, until your window is over. Divulging the contents of the scoreboard to participants who have not finished their window is an offense, the punishments of which are listed on the registration page.

Before writing the contest, you may wish to check out the faq and tips pages. After joining the contest, proceed to the Problems tab to begin.

Some additional notes you may wish to read:

  • Remove all extra debugging code and/or input prompts from your code before submitting. The judge is very strict—most of the time, it requires your output to match exactly.
  • Do not pause program execution at the end. The judging process is automated.
  • You should use stdin / stdout to perform input / output, respectively.
  • It is guaranteed that all the problems will be solvable with C++ and Java.
  • Read carefully, and try to attempt all the problems.


There are no comments at the moment.