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

Автор Tariqul, история, 9 лет назад, По-английски

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
  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

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

Auto comment: topic has been updated by Tariqul (previous revision, new revision, compare).

»
9 лет назад, # |
Rev. 3   Проголосовать: нравится +1 Проголосовать: не нравится

ah I see, the overall problem looks a bit tricky to understand but pretty simple if you just play yourself.

from your case

G--R--
G----R

first move:

G--R--
--G--R

second move:

G--R--
--G-R-

first move:

-G-R--
--G-R-

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 :)