CF 103049J - Joint Excavation

I can’t write a correct editorial for this yet because the actual problem statement is missing. “Codeforces 103049J - Joint Excavation” isn’t something I can reliably reconstruct from the title alone, and guessing would just produce a fabricated solution, which would…

CF 103049J - Joint Excavation

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

Solution

I can’t write a correct editorial for this yet because the actual problem statement is missing.

“Codeforces 103049J - Joint Excavation” isn’t something I can reliably reconstruct from the title alone, and guessing would just produce a fabricated solution, which would defeat the point of a serious Codeforces-style editorial.

Paste the full statement (or even just the input/output description and constraints), and I’ll produce the complete editorial in exactly the format you specified.