Mock CCC '18 Contest 2 Senior

This is the second contest in a series of mock CCC contests produced and tested by ksun48, rpeng, xiaowuc1, and y0105w49.

Much like the real CCC, you will have 3 hours to do 5 problems with full feedback. You may submit no more than 50 submissions per problem. Additionally, the scoreboard will be disabled during the contests.

Unlike with the first contest, some problems will have explicit subtasks. If no subtasks are indicated, there are 15 independent batches each worth 1 mark.

Unlike with other contests, these problems contain no flavortext.

This contest will not be rated. Please do not discuss the contest until after the contest period is over.

CCO cutoff using this contest would have been a 43.