Блог пользователя Alphonese

Автор Alphonese, история, 11 месяцев назад, По-английски

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.

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

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