Max's Anger Contest Series 1

MACS1 Banner

Welcome to the first Max's Anger Contest of the year!

The difficulty will range from CCC Junior 1 to CCC Senior 5.

The contest organizer and problem setter is maxcruickshanks.

Special thanks to feliser, wleung_bvg, and X_Ray for testing and helping with the problems!

The contest will run from December 30th, 00:00 EST, until January 2nd, 00:00 EST. You will have a two-hour window to solve the problems.

Here are the parameters of the contest:

  • Contest duration: 2 hours.
  • Number of problems: 5, full feedback (you will see the results of each submission instantly). Each problem will be worth 100 points and have partial marks in the form of subtasks.
  • Scoreboard will be visible.
  • No incorrect submission penalty.
  • There will be no submission limit.
  • Ties in score will be broken by the last submission time that increased your score.
  • This contest is unrated.

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

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

  • Problems will be approximately increasing in difficulty. Reading all of the statements is still recommended.
  • 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 problems and subtasks will be solvable in C++ and Java; Python users are recommended to use PyPy.


  • 5
    Plasmatic  commented on Dec. 29, 2022, 5:15 a.m.

    dammit you beat me to the name

  • -31
    volcano  commented on Dec. 26, 2022, 6:53 p.m.

    This comment is hidden due to too much negative feedback. Show it anyway.

  • 20
    thomas_li  commented on Dec. 25, 2022, 10:44 p.m.