@@ -0,0 +1,610 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=8204%0A%0Apublic class WhiteCells %7B%0A%09public static int countOccupied(String%5B%5D board) %7B%0A%09%09int occupiedWhiteCellsCount = 0;%0A%09%09%09%0A%09%09for (int i = 0; i %3C board.length; ++i) %7B%0A%09%09%09for (int j = 0; j %3C board%5Bi%5D.length(); ++j) %7B%0A%09%09%09%09boolean elementOnEvenRowAndEvenColumn = (i %25 2 == 0 && j %25 2 == 0);%0A%09%09%09%09boolean elementOnOddRowAndOddColumn = (i %25 2 == 1 && j %25 2 == 1);%0A%09%09%09%09if ((elementOnEvenRowAndEvenColumn %7C%7C elementOnOddRowAndOddColumn) && board%5Bi%5D.charAt(j) == 'F') %7B%0A%09%09%09%09%09occupiedWhiteCellsCount++;%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return occupiedWhiteCellsCount;%0A%09%7D%0A%7D%0A

Create WhiteCells.java