CF 105705C - Farthest Apart

Got it - I can write a Codeforces-style editorial. But I’ll need the problem first. Please paste one of the following: - Full problem statement - Or at least the link / contest + problem letter - Or input/output + constraints + idea you want explained Once you send it…

CF 105705C - Farthest Apart

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

Solution

Got it - I can write a Codeforces-style editorial.

But I’ll need the problem first. Please paste one of the following:

  • Full problem statement
  • Or at least the link / contest + problem letter
  • Or input/output + constraints + idea you want explained

Once you send it, I’ll produce a proper editorial with:

  • Problem summary
  • Key observations
  • Step-by-step solution
  • Complexity analysis
  • Edge cases
  • (If useful) alternative approaches / common pitfalls