Codeforces
Open Navigation
Close Navigation
CF Step
Youtube
Twitter
Linkedin
Discord
Toggle Dark/Light/Auto mode
Toggle Dark/Light/Auto mode
Toggle Dark/Light/Auto mode
Back to homepage
Close Menu Bar
Open Menu Bar
Home
/
Codeforces
/
Contests
/
Codeforces Round 723 (Div. 2)
/
C2. Potions (Hard Version)
C2. Potions (Hard Version)
Code : Potions (Hard Version)