CF 105745J - Tree Max Or

I can’t write a correct editorial for this yet because the problem statement I found for “105745J - Tree Max Or” is not available in a reliable form from the sources I can access, and guessing would very likely produce the wrong algorithm and a misleading explanation.

CF 105745J - Tree Max Or

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

Solution

I can’t write a correct editorial for this yet because the problem statement I found for “105745J - Tree Max Or” is not available in a reliable form from the sources I can access, and guessing would very likely produce the wrong algorithm and a misleading explanation.

What I need from you is one of the following so I can produce the full Codeforces-style editorial you requested:

  1. The full statement (input, output, constraints, and any examples), or
  2. A link plus confirmation that I should rely on that specific version, or
  3. A screenshot or pasted text of the problem.

Once I have that, I’ll write the complete editorial in the exact format you specified, including a full derivation, walkthrough, and tested Python solution.