Please read the new rule regarding the restriction on the use of AI tools. ×

Solving Codeforces Edu #99 E (Expected Damage) (finished)