This contest comprises 3 questions, each question may be worth a different number of points, so read them carefully. Some questions may have sub-tasks worth partial points. The contest will run for several days. However, you will have only 2 hours to complete the questions starting at any time you like during the contest span. After your 2 hours is up, you will become a spectator.
- Do not discuss the questions at all with anyone who has not yet finished (or begun) their competition window.
- Do not create a second account to view the questions before competing.
- You may copy and paste code from your code library.
- The scoreboard is provisional until the winner is announced, and ratings are updated. The contest writers reserve the right to add test data to break any incorrect or time limit exceeded solutions.
- Read the bounds, read the time limit, and DO COMPLEXITY ANALYSIS. Do not waste time on a solution that will definitely get time limit exceeded.
- Read every question.
- Try not to get stuck solving a question if there are others you can work on.
- If you cannot solve a question, try solving a sub-task. Sometimes these are designed to help you along the path to a complete solution.
- Partial points for sub-tasks are extremely valuable, and often are the difference between the bottom of the scoreboard, and at the top.
- If you get wrong answer, try debugging using your own test cases.
We guaranteed that all problems are solvable in C/C++. Due to the relative efficiency of some languages, we do not guarantee any other languages are viable. Problems are almost always solvable in Java. Problems are occasionally solvable in Python.
This contest is rated.