How to read problem statements - Codeforces --- 如何阅读问题陈述 - Codeforces
The result of reading the statement is usually pure math model. If story helps to build correct understanding, you can keep it, but still try to discard as many unnecessary details as possible.
Try to make the pure math model shorter and simpler
- Simplify and shorten the pure math model
Try to find familar patterns, such as the dicription “some connected graph with exactly one simple path between each pair of vertices” can be replaced by tree.
Try even harder to spot something strange, something you’re not expecting. That will likely be the cornerstone of the problem.