Hi, I am facing confusion about this 142D - Help Shrek and Donkey 2 From the editorial I understood that the answer will be "First" for the following input. But I could not make the First person win manually. Could anyone please tell the steps to win for the "First" person or I have wrong understanding. Here is the input:
2 6 1
G--R--
G----R
Auto comment: topic has been updated by Tariqul (previous revision, new revision, compare).
ah I see, the overall problem looks a bit tricky to understand but pretty simple if you just play yourself.
from your case
first move:
second move:
first move:
and then, second player have to close one row, which gives the ultimate control to first player. there are also other moves, you can find out easily by just play yourself :)
Thanks. :)
np