SM 2024 R3 - Math & Neighbours (5th - 11th Apr) Score Discuss
Riad's April Contest 2024 (13th - 21st April) has started Discuss
Posting a reply to: Re: 2021 WS+PC Time Trials
HTML: Yes
Anonymous: No
Disable HTML

Cancel


You are replying to:

tamz29



Posts: 225
10010020
Country : Thailand

tamz29 posted @ 2021-11-16 6:45 PM

blivet - 2021-11-16 6:38 PM

Sailing:

Could the solution to the example be a rectangle, i.e. could the line visit row 2 column 4 instead of row 3 column 3? If not, why?


This is a very good question and is precisely why we added "If the loop cannot travel in the wind’s direction upon entering a cell in which the wind blows (such as it results in the loop hitting the edge of the grid, or a black cell), it may not enter that cell" to the new version of the IB (see download link above).

In the example, if the loop travels down from R2C4 to R3C4 it would be hit by the wind and will not be able to travel in the wind's direction as it will crash to the edge of the grid.
Hope this helps.