comingsoon.cpp's blog

By comingsoon.cpp, history, 15 hours ago, In English

I don't understand the 4th test case to this problem 1851C - Tiles Comeback. Isn't 11112222 supposed to satisfy all the conditions? or is there something I'm missing?

  • Vote: I like it
  • -7
  • Vote: I do not like it

»
15 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

Somebody please help me!!! T_T

  • »
    »
    13 hours ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    You can only go right — if you ever get a path that starts with 1111, you must be at the 7th element so you can't get another path of 2222.

    • »
      »
      »
      12 hours ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Thanks.