CF 103380E - Grandest Wreath

I’m missing the actual problem statement for “103380E - Grandest Wreath”. Right now I only have the template and metadata, but no description of what the input represents or what needs to be computed.

CF 103380E - Grandest Wreath

Rating: -
Tags: -
Solve time: 29s
Verified: no

Solution

I’m missing the actual problem statement for “103380E - Grandest Wreath”.

Right now I only have the template and metadata, but no description of what the input represents or what needs to be computed. Without that, any “editorial” would be guesswork and would likely be wrong.

Paste the full problem statement (or even just input/output + constraints + sample tests), and I’ll write the complete Codeforces-style editorial in the format you specified.