## Wesley's Anger Contest 5

It is well known that wleung_bvg is always angry. To vent out his anger, he decided to create yet another contest with Zeyu, aeternalis1 and Pookmeister.

With all this free time, the squirrel nation gradually gets more and more bored. As a result, more and more problems have been occuring and they seek your help to resolve these conflicts!

Here are the parameters of the contest:

• Contest duration: 3 hours.
• Number of problems: 7, full feedback. Each problem will be worth 100 points, with some problems offering partial marks in the form of subtasks.
• Rated for opening the contest. Unlike with other contests which require making a submission for the contest to be rated, opening the contest and being able to read the problems will cause the contest to be rated.
• Scoreboard will be public.
• No submission penalty.
• 50 submission limit per problem.
• Ties will be broken by the last submission time that increased your overall score.
• Checkers for problems: Unless otherwise specified, identical. The contest will follow the standard convention of having all lines terminate in a \n character, with no trailing whitespace.

Furthermore, users are forbidden from using multiple accounts or collaborating during the entire contest duration. Any suspicious behaviour during the contest window may result in a severe penalty including, but not limited to, being placed at the bottom of the scoreboard. 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.

The problem setters for this contest are wleung_bvg, Zeyu, aeternalis1 and Pookmeister.

Special thanks to Dormi, crackersamdjam, Plasmatic, tangsaidi, and piddddgy for providing feedback and testing the problems.

A special thank you to Ninjaclasher for his administrative assistance with the contest.

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

This contest will consist of problems, the difficulty of which is similar to a typical Wesley's Anger Contest.

You will have 3 hours to complete the contest. After the contest window begins (August 7th, 09:00 EDT), you may begin at any time. Once you enter the contest, 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 (August 10th, 23:59 EDT), whichever comes first.

After joining the contest, you can 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:

• It is not guaranteed that the problems will be in order of increasing difficulty. Reading all of the statements is 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 the problems will be solvable with C++. All problems have a time limit of at least 2x the reference solution, which is written in C++ and uses this template for I/O. If you're unable to see the template, you must solve this problem. Problems that have been tested in multiple languages may have language specific time limits.

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.

• commented on Aug. 11, 2020, 1:20 p.m.

This contest was clean, why can't the CCC be like this ;(

• commented on Aug. 11, 2020, 1:44 p.m.

The CCC might be Waterloo's most neglected contest.

• commented on Aug. 11, 2020, 3:42 p.m. edited

unfortunately :(

• commented on Aug. 11, 2020, 12:14 a.m.

Is there an editorial?

• commented on Aug. 11, 2020, 12:16 a.m.

Editorials will be released for all problems within 24 hours.

• commented on Aug. 9, 2020, 10:11 p.m.

There was previously an issue with DMOJ being down at around 3:50pm EDT to 4:00pm EDT on August 9th. We apologize for the inconvenience. Anyone may request to be unrated through Slack or Discord by messaging Pookmeister or wleung_bvg if they were significantly affected by this issue.

• commented on Aug. 5, 2020, 3:26 p.m.

Due to popular demand the contest has been extended by 24 hours.

• commented on Aug. 5, 2020, 5:12 p.m.

damn bruh 27 hour personal window sounds kinda tough ngl
is it advisable to sleep during my window? i don't know that i can stay awake for so long

• commented on Aug. 5, 2020, 5:16 p.m.

In case there was any confusion, the duration of the contest remains 3 hours, however the period of time where you may start has been extended by 24 hours.

• commented on Aug. 5, 2020, 5:19 p.m.

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

• commented on Aug. 11, 2020, 10:52 a.m.

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

• commented on Aug. 2, 2020, 9:38 p.m.

Wack 5

• commented on Aug. 7, 2020, 1:39 p.m.

whack 5