CF 1875E - Jellyfish and Math

Codeforces 1875E: Jellyfish and Math

CF 1875E - Jellyfish and Math

Rating: 2400
Tags: bitmasks, dfs and similar, dp, graphs
Solve time: 52s
Verified: no

Solution