Statement | You are given a Bingo board. The rows are separated by '|'. Replace them with "BINGO!" if there is a bingo (five 'o's in a row either vertically or horizontally or diagonally), ";_;" otherwise. Sample input represents below. There is a bingo diagonally. oxoxo xoxxo oooox xxxox ooxoo |
---|---|
Sample Input | |
Sample Output |