Check (1) forget to sort (2) typo of i and j (3) n = 1 / cout -1
Good Problems
- Math
- Statistics
- edu 78 F (K-moment of binomial)
- Statistics
- DP
- Expection / Probabilities DP
- 604 div2 D
- Tree DP
- 607 div1 D
- Rooted Tree DP
- 614 div1 C
- Submask DP
- 568 div2 F
- Multi-DP / Seperated DP
- 568 div2 G hard
- Expection / Probabilities DP
- Greedy
- edu 78 D
- Hash
- Hello 2020 D
- Graph
- Sparse Graph Search
- 589 div2 D
- 599 div1 B
- Strongly Connected Components
- 545 div1 C
- Minimum Cost Maximum Flow
- edu 80 F
- Sparse Graph Search
- Tree
- LCA
- 620 div2 E
- LCA
- Data Structures
- Treap / Ordered set
- 567 div2 D
- Treap / Ordered set
- Geometry
- Polar sort
- Hello 2020 E
- Polar sort
- Randomization
- Ozon2020
- Games
- edu 83 F
- Strings
- Z Function
- 622 div2 E
- Z Function