Clarification Request: Example

Clarification Request: Example

Imagen de akki

Quoting the problem statement:

Lines passing through white circles must pass straight through the cell, and make a right-angled turn in a cell next to the white circle (left or right)

However, in the given example, if I've read it right, the path passes through the cells (7, 5) and (7, 4), both containing white circles. Going by the rule, there would have to be a right-angled turn in cell (7, 4). Is there an exception in case of adjacent white cells?

In this case, would a path passing straight through (4, 2), (4, 3), (4, 4) be valid?

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de gk4v07
Quoting akki Quoting the problem statement:

Lines passing through white circles must pass straight through the cell, and make a right-angled turn in a cell next to the white circle (left or right)

However, in the given example, if I've read it right, the path passes through the cells (7, 5) and (7, 4), both containing white circles. Going by the rule, there would have to be a right-angled turn in cell (7, 4). Is there an exception in case of adjacent white cells?

In this case, would a path passing straight through (4, 2), (4, 3), (4, 4) be valid?

Agree. Perhaps the rule for while circles from the wiki is more clear: "White circles must be travelled straight through, but the loop must turn in the previous and/or next cell in its path." From this definition it is clear, that a straight path through three white circles in a row in not valid.
Imagen de akki
Quoting gk4v07 Agree. Perhaps the rule for while circles from the wiki is more clear: "White circles must be travelled straight through, but the loop must turn in the previous and/or next cell in its path." From this definition it is clear, that a straight path through three white circles in a row in not valid.

Thanks gk4v07. That makes more sense.

  1. A right angle on the path, either immediately before or after a white cell is sufficient.
  2. Straight lines on the path, both immediately before and after a black cell are necessary.

Judges, is this understanding correct?

Thanks.

Inicie sesión para dejar un comentario.