Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×

Intuition behind solution of Kill Anton problem in cf round 723

Revision en2, by bully....maguire, 2021-06-04 15:23:42

problem

The most important observation here is that similar characters must be together. I want to ask people who solved it by themselves reached to that observation ? It was asked by codebuster_10 here but no one replied. Editorial gives the mathematical proof but I want to know the lane of thought (because first we make guess and then justify).

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English bully....maguire 2021-06-04 15:27:07 71
en2 English bully....maguire 2021-06-04 15:23:42 126
en1 English bully....maguire 2021-06-04 15:21:21 417 Initial revision (published)