Mock CCC '19 Contest 1 Senior

Hello, welcome to a mock CCC! Here are the parameters of the contest:

  • Contestants must write the mock CCC under CCC rules. Notably, contestants may not consult the Internet outside of accessing the relevant parts of the contest via the DMOJ platform or consulting language documentation, and contestants may not use any prewritten code.
  • Contest duration: 3 hours.
  • Number of problems: 5, full feedback, with subtasks. The problems follow the CCC format of being worth 15 marks each. All problems have explicit subtasks.
  • Not rated. This change was made after the contest ended.
  • Scoreboard will be hidden.
  • Number of submissions allowed per problem: 50.
  • Checkers for problems: Unless otherwise specified, identical. The contest will follow the standard convention of having all lines terminate in a \n character.
  • Testers for this contest: Cthulhu, Kirito, koosaga, ksun48, quantum, WallE256, and y0105w49.

Clarification requests for the contest must be routed through the clarification system provided on DMOJ, and not through other channels including but not limited to Slack. Furthermore, all clarification requests will be handled the way they normally are in IOI. Note that, in particular, clarification requests must come in the form of yes/no questions.

Due to rampant issues with cheating on contests that has happened recently, any suspicious behavior during the contest window may result in your rating being impacted negatively. Such behavior includes, but is not limited to:

  • Registering for the contest with at least two accounts.
  • Participating in the contest with an account that is not your primary account.
  • During the contest window, talking about the contest in more detail than answering a yes/no question about whether one participated in the contest. This includes, but is not limited to, posting spoilers about the contest and public speculation of the contest.
  • Attempting to exploit bugs in the platform to subvert the constraints of the contest.

Punishments may include performance being unrated or, for more serious infractions, being forcibly ranked at the bottom of the scoreboard.

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

The contest consists of 5 questions with a range of difficulty from CCC Senior 1 to CCC Senior 5. It is highly recommended to read all of the problems. You will have 3 hours to complete the contest. After the contest window begins, you may begin at any time. Your personal timer will start counting down, and you will be able to submit until 3 hours from when you started, or until the hard deadline, whichever comes first.

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.
  • Remove all extra debugging code and/or input prompts from your code before submitting. The judge is strict — your output must match the judge output 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++. We do not guarantee that all problems are solvable in C, Java or Python.

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


Problem Points AC Rate Users
Mock CCC '19 Contest 1 S1 - Pusheen's Report Card 3p 36.1% 333 Editorial
Mock CCC '19 Contest 1 S2 - Pusheen's Puzzle Present 5p 20.7% 233 Editorial
Mock CCC '19 Contest 1 S3 - Pusheen Eats Tuna Sashimi and Tuna Nigiri 12p 5.5% 44 Editorial
Mock CCC '19 Contest 1 S4 - Pusheen Plays Neko Atsume (Contest Version) 12p 5.8% 61
Mock CCC '19 Contest 1 S5 - Pusheen Eats Even More Tuna Sashimi and Tuna Nigiri (Contest Version) 20p 3.0% 15


  • 4
    randomperson89  commented on Jan. 19, 2019, 4:42 p.m.

    Is it me or are the DMOJ servers dying?

    • 0
      JimmyDeng12345  commented on Jan. 31, 2019, 9:49 p.m.

      same here, my questions could not be graded

    • 7
      indra  commented on Jan. 19, 2019, 8:08 p.m.

      enter image description here

  • -12
    JustinXu  commented on Jan. 18, 2019, 12:26 p.m.

    This comment is hidden due to too much negative feedback. Click here to view it.

  • 33
    max  commented on Dec. 29, 2018, 12:02 a.m. edit 2

  • -3
    Plasmatic  commented on Dec. 16, 2018, 12:20 p.m.

    During the contest, if we get a wrong answer on a test case will we be able to see a truncated version of our output?

    • -13
      Dordor1218  commented on Jan. 12, 2019, 8:59 p.m. edited

      This comment is hidden due to too much negative feedback. Click here to view it.

    • -3
      1419903188  commented on Jan. 5, 2019, 7:04 a.m.


      • -4
        Dordor1218  commented on Jan. 19, 2019, 11:21 a.m.

        oh that makes more sense of why i failed the junior contest thinking that i didn't output anything...