Follow the scene in order
Each scene states its rules. Run it from the start, one step at a time, and at each step ask what the rules say must already be true. The first step where the answer is no names the part to fix. Everything after it never got its chance, so do not blame it yet.
Then compare the repairs. Some do not work at all, and some work but change more than they need to. Try each repair against every rule again, not only the one that failed, because a big change can break a rule that was fine. Of the repairs that pass, choose the one that changes least.
1Run the scene step by step against its rules.
2The first failed step is the part to fix.
3Recheck every rule for each repair, then take the smallest one that passes.
A parcel out of order
The rules: pack before sealing; seal and label before sending; the label may go on before or after sealing. The plan is Label, Seal, Pack, Send.
Step 1, Label, needs nothing, so it works. Step 2, Seal, needs the contents packed, and they are not. The sequence stops there: Seal is the part to fix.
Moving Seal just after Pack crosses one action and gives Label, Pack, Seal, Send, which passes every rule. Moving Seal after Send fixes packing but now Send comes before Seal, so it fails a rule that was fine.
Protect the crossing
The train is on the crossing from tick 6 to tick 9. The gate must close at least 1 tick before the train arrives, and stay closed until at least 1 tick after it leaves. It closes at 6 and opens at 11. Change as few ticks as you can.
Check the closing time, then the opening time, before you choose.
Try it
Which repair is the smallest one that works?
- Close at 5; keep opening at 11
- Close at 5; open at 10
Show the answer
Close at 5; keep opening at 11
Right. The latest safe closing is 6 − 1 = 5, so closing at 6 fails and must move one tick. Opening at 11 already meets its rule, since the earliest safe opening is 9 + 1 = 10, so it stays. One tick changed.
Enable JavaScript to answer interactively and save your place.
Practice Scene repair