This editorial corresponds to 2018 Chinese Multi-University Training, BeihangU Contest (stage 5), which was held on Aug 6th, 2018. Moreover, this problem set was also used as Jingzhe Tang Contest 1 in Petrozavodsk Winter Camp on Jan 30th, 2019.
This post will try to elaborate on notes, solutions and maybe some data generating. Before that finishes, you can refer to an old published material.
This problem requires to calculate $$$s$$$-$$$t$$$ min cut between any two vertices on a weighted cactus graph. Try to find some feature of this graph.
This problem is yet another problem related to swapping. Can you solve it simply and elegantly?
Wait, wait, wait... Does it seem like a notorious coincidence with this problem? What? This problem has an incredible data range... Does it really solvable??? Oh, I can't believe that!!! >_<
102114C - Call It What You Want
This problem asks you to factorize polynomial $$$(x^n - 1)$$$ over the field of the integers. Besides, the statement contains some mathematical formula you may need to apply. Maybe you just need some observation to solve.
This problem can be explained as given an unweighted tree, you need to determine the union of two sets and report its size, where each set is a set of vertices whose distances to a given vertice are no more than a fixed value, and the values for two sets are the same. However, queries are encrypted so you need to handle them one by one (online).
Emmm... A typical data structure problem, right?
Certainly I've found it on CodeChef. What? Why TLE???
102114E - Everything Has Changed
A geometry problem to ensure you have checked in this contest. Read the statement for more details.
Consider all the lattice points in a hypercube $$$\lbrace (x_1, x_2, \ldots, x_n) | 1 \leq x_i \leq p_i \rbrace$$$. Find a maximal subset such that there are no two points $$$(x_1, x_2, \ldots, x_n)$$$, $$$(y_1, y_2, \ldots, y_n)$$$ meeting the condition $$$x_i \leq y_i$$$ for all $$$i$$$. Report its size modulo $$$(10^9 + 7)$$$. How fast can you achieve to solve it?
Here is an old problem with smaller data range.
There are $$$m$$$ operations over an array $$$a_1, a_2, \ldots, a_n$$$, each operation of which is to update $$$a_i$$$ $$$(l \leq i \leq r)$$$ by $$$\max{a_i, v}$$$. You need to determine the array after all the operations.
There are some restrictions, such as $$$l, r, v$$$ are randomly selected, and $$$m \sim n \log n$$$.
Given an array consisting of $$$0, 1, \ldots, 9$$$, your task is to reverse exactly one interval and then make the longest non-decreasing subsequence of the whole array as long as possible. The reversed interval is also required to report.
Count the number of solutions for the equation $$$x_1 \oplus x_2 \oplus \cdots \oplus x_N = K$$$, where $$$x_i$$$ can be any integer in $$$[L, R]$$$. There are $$$Q$$$ queries with the same $$$N, L, R$$$ but different $$$K$$$.