Wrong answer for test cases


#1

[“rbbbggrbrbrggrgr”, “bgbrbbrgggrgrrrr”, “rgbrrrbbgbbbrrrb”, “bbgbrgrbbrgrrgbb”, “ggbrbrrbggggrrgb”, “bgbrbrggbgrrgbrg”, “grbbbgrbgbbgbbgr”, “rbgbgbrrgrgbgbbr”, “gbgrrgbbrrbbgbbg”, “brgrbbrrbrgbgbrb”, “rbbrrrbgrbgrbbrg”, “rrggrrbbbrgbgggg”, “rrrrgbbrgbbgbbrg”, “rgbgrrrrggbbrrgr”, “ggbrbbbbgrrrbrbb”, “gggggrgbrbrbrrgr” ]

how can the expected answer be 120, it should be 128
16*16/2 = 128