DMOPC '14 April Contest

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

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

This round will be rated for all participants.

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.
  • Do not just print out a hardcoded answer. There will be preliminary tests (pretests) to prevent such behavior. These pretests will generally be small enough to solve with almost any algorithm and will not contain any tricky corner cases. They are there to test for a basic understanding of a problem. The sample input will always be included as the first few pretests.
  • 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!


  • -1
    Butane  commented on April 7, 2015, 5:47 p.m. edited

    Make it unrated for me please :(

    ADMIN EDIT: Done.

  • 0
    FatalEagle  commented on April 7, 2015, 5:20 p.m.

    Due to numerous issues in statements and test data, affected users may request the round to be unrated for them by leaving a comment on the contest page.

    • -1
      FatalEagle  commented on April 7, 2015, 6:34 p.m.

      Requests for unrated will be considered up to 8PM EST today, after that this contest will be rated for all other participants.

  • -1
    Geerthan  commented on April 7, 2015, 5:12 p.m. edited

    Can I get this to be unrated?

    ADMIN EDIT: Done.

  • 2
    WhiteTofuLord  commented on April 7, 2015, 3:29 p.m. edited

  • 2
    WhiteTofuLord  commented on April 7, 2015, 3:28 p.m. edited

  • 2
    WhiteTofuLord  commented on April 7, 2015, 3:28 p.m. edited

  • 2
    WhiteTofuLord  commented on April 7, 2015, 3:12 p.m. edit 4

  • 3
    pyrexshorts  commented on April 5, 2015, 4:32 p.m.

    I come home around 4:15 wish, can the contest time be moved a bit?

    • 2
      Xyene  commented on April 5, 2015, 5:09 p.m. edited

      The DMOPC has typically ran from 3:30-6:30 since the beginning of the contest season, and though this is not awfully convenient for individual participants it is for schools which participate in the DMOPC in lieu of the now defunct DWITE contest.

      This may change in the future with the DMOPC being a virtual contest, but for this contest it's too close to the contest date to make any such drastic changes (and invitation emails have already been sent out, too.)

    • -1
      bobhob314  commented on April 5, 2015, 4:33 p.m.

      More people start at around 3:00 PM. Perhaps a flexible start time would be better?

      • 1
        Xyene  commented on April 5, 2015, 5:10 p.m.

        Historically, the start time of 3:30 was chosen to be accessible to as many schools as possible. Even though it may be inconvenient for schools like DMCI (which ends school as 3:05), it's more convenient to those that end at 3:30, and more fair to those who end at later times.