Alphonese's blog

By Alphonese, history, 11 months ago, In English

Hello Codeforces Community,

I'm currently facing a challenging issue with my submission in Contest 1015, my solution keeps failing at test case 23, and I'm at a loss for identifying the root cause of this error.

Submission Details: - Problem: 1015D — Walking Between Houses - My Submission: Submission #241096130

I've gone through my code multiple times, trying to spot any logical errors or edge cases that I might have missed, but so far, I haven't had any luck. I suspect the issue might be related to an overlooked corner case or a possible implementation flaw, but I can't seem to pinpoint it.

I would greatly appreciate it if anyone could take a look at my submission and offer some insights or suggestions on where things might be going wrong. Any feedback, hints, or advice would be incredibly helpful.

  • Vote: I like it
  • +6
  • Vote: I do not like it

»
11 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Take a look at Ticket 17228 from CF Stress for a counter example.

The condition $$$1 \leq h[i] \leq n$$$ is violated.