Standard PCS Contest 7

Thanks to the authors (in no particular order): Tommoa, mvhv, wes, PHPeasant

This contest comprises 4 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.5 hours to complete the questions starting at any time you like during the contest span. After your 2.5 hours is up, you will become a spectator.

All input and output will be done via the standard input and output streams respectively.

Rules

  • 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.

Some Advice

  • 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.


Problems

Problem Points AC Rate Users Editorials
Purple Lights 1 37.2% 33 Editorial
Bear Chess 1p 24.7% 13 Editorial
Planet Gozz 1p 42.6% 17 Editorial
Colouring Trees 1p 37.5% 8 Editorial

Comments

There are no comments at the moment.