{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"Given a two-dimensional grid of cells consisting of \u00271\u0027s and \u00270\u0027s, \u00271\u0027 donates a filled cell, and \u00270\u0027 donates an empty cell. The filled cells are considered connected if they are adjacent to each other horizontally, vertically, or diagonally. You have to find the largest connected component of filled cells."}},{"title":"Input","value":{"format":"MD","content":"The first line contains a single integer $T$ which is the number of test cases. This line is followed by a blank line, and there is also a blank line between two consecutive inputs.\n\nFor each test case, The grid is given as a set of strings, The largest grid that should be considered is a 25×25 grid."}},{"title":"Output","value":{"format":"MD","content":"For each test case, output the largest connected component of filled cells. The outputs of two consecutive cases will be separated by a blank line.\n"}},{"title":"Sample Input","value":{"format":"MD","content":"2\n\n11000\n01100\n00101\n10001\n01011\n\n00110\n01111\n01111\n11001\n01011"}},{"title":"Sample Output","value":{"format":"MD","content":"5\n\n16\n"}}]}