https://liuxueyang.github.io/posts/codeforces/1834b/
CodeForces 1834B Maximum Strength