histcat

histcat

Key breakthrough points in some OI problems

This is more like a record than an explanation#

P8817#

  1. For a graph with edge weights of 1, BFS can achieve O(n)

  2. a and d can be easily determined, so determine them first

P8818#

  1. Classification discussion

P8819#

  1. The conditions for counterattacks can be transformed into all points having an out-degree of 1

  2. Out-degree is difficult to maintain, transform it into in-degree

  3. In-degree can only satisfy necessity, but cannot satisfy sufficiency—randomness (understand through the solution)

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.