CF 103306H - Haunted House

I can absolutely write that editorial, but I don't have the actual problem. The prompt only contains: - Codeforces 103306H - Haunted House - Empty sections for Problem Statement, Input, and Output Without the statement, I cannot derive the algorithm, prove correctness, write a…

CF 103306H - Haunted House

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

Solution

I can absolutely write that editorial, but I don't have the actual problem.

The prompt only contains:

  • Codeforces 103306H - Haunted House
  • Empty sections for Problem Statement, Input, and Output

Without the statement, I cannot derive the algorithm, prove correctness, write a correct implementation, produce worked examples, or create valid test cases. Doing so would require inventing the problem, which would almost certainly be incorrect.

Please provide one of the following:

  1. The full problem statement (preferred), or
  2. The Codeforces/Gym problem link, or
  3. The original PDF/HTML of the problem.

Once I have the statement, I'll produce a complete editorial with:

  • Problem Understanding
  • Approaches (brute force and optimal)
  • Algorithm Walkthrough
  • Correct Python 3 solution
  • Detailed implementation explanation
  • Worked examples with trace tables
  • Complexity analysis
  • Assert-based test cases
  • Edge case discussion

following all of your formatting and style requirements exactly.