Chasty's blog

By Chasty, history, 9 years ago, In English

in my local PC I ouput the correct answer but in CF does not.  Link -> http://codeforces.me/contest/585/submission/13721320

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

»
9 years ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

I know that my code is too long :( . I reset the answer (solution to false for a new case). thanks in advance

  • »
    »
    9 years ago, # ^ |
    Rev. 5   Vote: I like it 0 Vote: I do not like it

    Your code fails the very first pretest.

    Input this :

    2

    16 4

    ...AAAAA........

    s.BBB......CCCCC

    ........DDDDD...

    16 4

    ...AAAAA........

    s.BBB....CCCCC..

    .......DDDDD....