Please read the new rule regarding the restriction on the use of AI tools. It applies starting from round 972. ×

Codeforces Pinely Round 4 (Div 1 + Div 2) Solution Discussion (finished)