• + 1 comment

    Can anyone help me understand how the following test case is supposed to have an answer of 81? I see at least two crosses where you can cross 7 x 7 'G's for an area of 13 each. 13 * 13 = 169, not 81. Am I misunderstanding the principle of the problem? Am I missing something obvious?

    GGGGGGGGGGGG
    GBGGBBBBBBBG
    GBGGBBBBBBBG
    GGGGGGGGGGGG
    GGGGGGGGGGGG
    GGGGGGGGGGGG
    GGGGGGGGGGGG
    GBGGBBBBBBBG
    GBGGBBBBBBBG
    GBGGBBBBBBBG
    GGGGGGGGGGGG
    GBGGBBBBBBBG