DMOPC '14 February Contest

Update: Thank you to all who participated!
Below are the problems for you to solve post-contest:

New Key
Golden Lily
Sketchley Park
Aircraft Carrier Akagi
Save Nagato!

Solutions can be found here.

Welcome to the fifth Don Mills Open Programming Competition of the school year!

The problem writers this time are FatalEagle, Sentient, and Xyene.

Before the contest date, you may wish to check out the tips and help pages.

The contest consists of 6 questions with a wide range of difficulties, and you can get partial marks for partial solutions in the form of subtasks. If you cannot solve a problem fully, we encourage you to go for these partial marks. The difficulty of a problem may be anywhere from CCC Junior to CCO level. You will have 3 hours to complete the contest. Check when the contest begins in your timezone here.

After joining the contest, you proceed to the Problems tab to begin. You can also go to Users if you wish to see the rankings.

We have listed below some advice as well as contest strategies:

  • Start from the beginning. Ties will be broken by the sum of times used to solve the problems starting from the beginning of the contest. The last submission time of your highest score will be used.
  • It is strongly advised to run your code on your own computer with the sample input we provide before submitting. It's faster to find and fix mistakes at this stage rather than submitting and waiting only to find out that your solution doesn't compile.
  • 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.
  • Just because your program works with the sample input doesn’t guarantee that it will earn full points. Read the problem statement very carefully to look for things you may have missed on the first read-through. It is not forbidden — in fact, even encouraged to make your own test cases to debug your program on.
  • The test data is guaranteed to fit within the constraints given. You do not have to perform any extra checks to make sure of this fact.
  • It is guaranteed that all the problems will be solvable with C++.

At the end of the contest, you may comment below to appeal a judging verdict. In the case of appeals, the decision(s) of DMOJ staff is final.

After the contest finishes, we'll have a optional feedback form we would like you to fill out here.

Good luck!


  • 3
    andrew498  commented on Feb. 10, 2015, 7:21 p.m.

    Wouldn't the title be DMOPC '15 February Contest instead of DMOPC '14 February Contest?

    • 1
      FatalEagle  commented on Feb. 10, 2015, 7:27 p.m.

      2014-2015 school year. We always use the starting year.

  • 2
    pyrexshorts  commented on Feb. 9, 2015, 6:38 p.m.

    Is there anyway that the start time of the contest to be delayed slightly, or allow me to pick when I start like the USACO?

    • 1
      Sentient  commented on Feb. 9, 2015, 6:45 p.m.

      No, you can only take part from 3:30 to 6:30 PM on February 10. You can continue to submit solutions post-contest except that your position on the contest score table will no longer be updated.