Cody

Solution 1993343

Submitted on 28 Oct 2019 by cokakola
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
board = [1 0 0 0 1 1 0 1 0 1 0 0 0 0 0 1 0 1 0 1 1 0 0 0 1]; moves = lights_out_10(board); % [1 5 11 15 21 25] b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 6 8 12 10 10 8 12 12 8 6 14 8 12 14 14 6 10 12 12 16 16 10 14 12 12 10 14 10 14 Columns 31 through 60 12 12 10 14 12 12 12 12 10 14 10 14 12 12 12 12 10 14 10 10 8 12 10 10 12 16 14 14 12 16 Columns 61 through 90 10 10 12 16 14 12 10 12 10 8 10 12 12 10 12 14 16 14 12 14 14 12 10 12 8 10 16 14 12 10 Columns 91 through 120 12 14 10 12 14 12 10 12 14 12 12 10 12 14 10 8 10 12 12 14 16 14 10 12 14 12 18 12 10 16 Columns 121 through 150 14 12 14 16 18 16 14 16 10 10 14 14 10 10 10 10 12 8 12 16 12 16 16 12 10 14 14 10 12 12 Columns 151 through 180 12 12 12 12 12 12 10 14 14 10 10 14 14 10 12 12 12 12 10 14 10 6 12 12 16 16 10 10 14 14 Columns 181 through 210 14 14 14 14 14 14 14 14 14 14 18 18 10 12 8 10 10 12 12 14 12 14 10 12 12 14 14 16 10 12 Columns 211 through 240 12 14 12 18 18 16 12 14 14 16 10 16 16 14 10 16 16 14 12 14 14 16 10 12 16 18 12 18 14 12 Columns 241 through 256 10 16 12 10 14 12 12 18 14 16 16 18 14 16 12 14 mini = 6 ind = 1

2   Pass
board = [0 1 1 0 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0]; moves = lights_out_10(board); % [4 9 10 16 17 22] b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 12 8 10 14 6 10 12 8 8 8 10 10 10 10 12 12 12 8 10 14 12 12 10 10 12 12 14 14 16 12 Columns 31 through 60 10 14 12 12 10 10 12 8 10 14 10 10 12 12 18 14 12 16 12 12 10 10 10 10 16 16 10 10 12 12 Columns 61 through 90 12 12 14 14 10 12 10 12 12 14 12 14 10 12 10 12 12 14 12 14 10 8 6 12 10 12 14 16 14 12 Columns 91 through 120 10 16 10 12 14 16 10 8 10 16 10 12 10 12 12 14 12 14 12 10 12 18 10 12 14 16 16 18 12 14 Columns 121 through 150 12 18 16 14 14 12 10 16 10 10 10 14 8 16 16 12 6 10 14 14 12 16 12 12 10 10 6 10 10 14 Columns 151 through 180 14 14 10 14 14 14 14 14 10 14 10 14 10 10 10 10 10 14 12 16 12 12 12 12 12 16 10 14 14 14 Columns 181 through 210 12 16 16 16 12 16 16 16 10 14 14 14 12 14 14 12 10 12 12 10 12 14 10 8 10 12 16 14 12 10 Columns 211 through 240 14 16 12 14 14 12 16 14 14 16 12 14 18 16 12 10 14 16 12 14 14 12 10 12 16 14 18 16 16 18 Columns 241 through 256 12 14 14 12 14 16 16 14 10 16 16 10 16 14 14 16 mini = 6 ind = 5

3   Pass
board = [0 1 0 1 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0 1 0 1 0 1 0]; moves = lights_out_10(board); % [7 8 9 17 18 19] b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 8 10 10 12 10 12 12 14 12 10 10 16 6 12 12 10 8 10 10 12 12 10 6 12 12 10 10 16 12 14 Columns 31 through 60 10 12 8 10 6 8 12 10 10 16 10 12 12 14 14 12 8 14 12 14 10 12 10 12 16 18 10 12 12 14 Columns 61 through 90 12 14 14 16 10 10 10 10 12 12 12 12 10 10 10 10 12 12 12 12 14 10 10 14 10 10 14 14 14 10 Columns 91 through 120 10 14 14 14 18 18 10 10 14 14 14 10 10 14 16 12 12 16 12 12 16 16 10 14 18 14 16 12 8 12 Columns 121 through 150 12 12 12 12 14 14 14 14 8 10 12 10 10 12 14 12 8 6 12 14 10 16 14 8 12 14 12 10 12 10 Columns 151 through 180 12 14 12 10 12 14 16 18 16 14 12 14 12 10 12 10 12 14 14 16 14 12 14 12 14 16 12 14 16 14 Columns 181 through 210 10 12 14 12 10 12 14 12 12 14 16 14 10 14 12 12 12 16 14 14 14 18 12 12 8 12 14 14 10 10 Columns 211 through 240 12 16 10 14 12 12 14 14 12 16 10 14 16 16 6 10 12 12 14 14 12 16 12 12 14 18 12 16 14 14 Columns 241 through 256 10 18 16 12 16 16 14 18 12 16 14 14 14 18 16 16 mini = 6 ind = 13

4   Pass
board = [0 1 1 0 1 1 1 1 0 0 0 0 0 0 1 1 0 1 0 1 1 0 1 0 0]; moves = lights_out_10(board); % [4 8 11 13 17 22] b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 10 10 10 10 10 10 14 14 8 8 12 12 12 12 12 12 10 6 6 10 12 12 12 12 12 8 12 16 14 14 Columns 31 through 60 10 10 12 8 8 12 10 10 10 10 12 12 12 12 14 10 10 14 12 12 12 12 12 12 16 16 12 16 16 12 Columns 61 through 90 12 8 12 16 12 10 10 16 8 14 10 8 10 12 8 10 10 12 12 14 12 10 10 16 10 12 12 14 14 16 Columns 91 through 120 12 14 12 10 14 20 10 12 12 14 12 10 10 16 10 12 12 14 16 14 14 20 10 12 12 14 14 16 12 14 Columns 121 through 150 10 12 12 14 14 16 12 14 8 12 14 14 8 12 10 10 6 10 12 12 10 14 12 12 12 12 10 14 10 14 Columns 151 through 180 12 12 14 14 12 16 12 16 14 14 14 14 8 12 8 12 14 14 10 14 12 12 16 16 14 18 10 14 12 12 Columns 181 through 210 10 14 16 16 6 14 16 12 14 14 12 16 14 12 10 12 10 16 18 12 12 14 12 10 12 14 16 14 10 8 Columns 211 through 240 10 12 12 14 16 14 12 14 16 14 14 12 14 16 8 10 16 14 14 12 10 12 12 14 16 14 14 12 14 16 Columns 241 through 256 12 14 16 14 16 18 16 14 16 18 16 14 12 14 16 14 mini = 6 ind = 18

5   Pass
board = [1 1 0 1 1 1 1 0 1 1 1 0 1 0 0 0 0 0 1 0 0 1 0 1 1]; moves = lights_out_10(board); % [7 8 12 14 15 21] b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 8 10 8 14 12 10 12 8 10 12 10 12 10 8 10 8 10 12 10 10 12 14 12 10 12 14 12 12 14 Columns 31 through 60 16 14 10 8 10 12 8 14 16 10 14 16 14 12 8 10 16 14 12 10 12 14 12 14 12 10 12 14 12 10 Columns 61 through 90 12 10 12 14 12 12 10 14 8 12 14 14 10 14 12 12 10 10 12 16 10 14 12 12 8 12 10 10 8 16 Columns 91 through 120 14 10 14 14 12 16 8 12 10 10 10 14 12 12 8 12 14 14 14 18 12 12 14 14 12 16 10 14 16 16 Columns 121 through 150 10 10 12 16 14 18 16 16 10 12 12 14 14 12 8 14 12 14 10 12 12 10 10 16 8 10 14 16 10 12 Columns 151 through 180 8 10 10 12 12 14 12 14 14 16 10 8 8 14 8 14 14 12 10 12 12 14 12 14 14 16 16 14 10 16 Columns 181 through 210 12 14 14 16 12 14 10 12 16 14 14 20 12 8 8 12 12 12 16 16 10 10 14 14 14 10 10 14 14 14 Columns 211 through 240 10 10 12 12 16 16 12 16 16 12 18 14 14 18 12 12 12 12 14 14 14 14 16 16 16 16 14 14 14 14 Columns 241 through 256 14 10 14 18 14 14 14 14 14 10 14 18 14 14 14 14 mini = 6 ind = 1

6   Pass
board = [0 0 0 1 0 0 0 0 0 1 0 1 1 1 1 0 1 0 0 0 0 0 1 0 0]; moves = lights_out_10(board); % on your own b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 8 8 10 8 10 10 12 10 12 12 14 8 10 10 12 12 14 10 12 12 10 10 16 12 14 10 12 12 10 Columns 31 through 60 10 16 10 12 8 10 14 12 12 18 12 10 10 16 12 14 10 12 8 10 10 12 10 12 12 14 10 8 12 18 Columns 61 through 90 12 18 14 12 8 12 12 8 14 10 10 14 12 12 12 12 14 14 14 14 10 10 14 14 14 10 10 14 10 6 Columns 91 through 120 10 14 14 14 14 14 12 8 12 16 12 12 12 12 14 10 10 14 10 10 14 14 14 14 14 14 12 12 12 12 Columns 121 through 150 16 16 12 12 14 14 18 18 10 12 10 8 8 10 16 14 10 12 14 12 12 14 16 14 12 14 12 10 12 10 Columns 151 through 180 12 14 8 10 12 10 16 14 12 14 10 12 14 12 14 12 10 12 12 10 12 14 12 14 12 10 12 14 16 14 Columns 181 through 210 10 12 14 12 14 12 14 16 12 18 20 14 4 12 14 10 14 14 8 12 12 16 14 14 10 14 12 12 10 14 Columns 211 through 240 16 16 14 14 12 16 14 14 12 16 10 14 16 16 12 12 10 14 12 16 18 18 14 14 12 16 10 14 16 16 Columns 241 through 256 10 14 12 12 12 16 14 14 12 16 14 14 14 18 16 16 mini = 4 ind = 193

7   Pass
board = [0 1 0 0 0 0 1 1 0 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 0]; moves = lights_out_10(board); b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 8 10 12 14 10 16 10 8 8 10 8 10 10 16 14 12 6 8 10 12 10 12 10 12 10 12 10 12 10 12 Columns 31 through 60 14 16 10 12 10 12 6 8 10 12 8 14 12 10 12 10 12 18 12 14 12 14 10 16 14 12 10 16 14 12 Columns 61 through 90 12 14 12 14 12 12 10 10 6 10 16 12 8 12 14 10 10 10 12 12 14 10 8 12 10 14 16 12 14 14 Columns 91 through 120 16 16 14 14 12 12 10 10 12 12 14 14 12 12 12 12 14 14 16 16 14 14 8 12 14 10 14 14 16 16 Columns 121 through 150 10 14 16 12 12 12 14 14 12 10 10 12 10 12 12 10 12 10 10 12 10 12 12 10 10 8 12 14 14 12 Columns 151 through 180 12 14 14 12 16 18 14 12 12 14 10 8 12 14 14 12 12 14 12 14 14 12 16 10 14 20 12 10 10 12 Columns 181 through 210 14 16 16 14 14 16 12 10 12 10 14 16 12 12 12 16 10 14 14 14 8 12 12 12 14 14 14 18 14 10 Columns 211 through 240 6 14 10 14 14 14 14 14 10 14 14 14 14 18 14 14 10 14 10 10 10 14 12 12 12 16 16 16 12 16 Columns 241 through 256 12 16 16 16 14 14 14 18 10 14 18 18 16 16 12 16 mini = 6 ind = 17

8   Pass
board = [1 0 0 0 0 1 0 0 1 1 0 0 0 0 1 1 0 0 0 1 1 0 1 0 1]; moves = lights_out_10(board); b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 6 10 10 10 14 14 10 10 10 14 14 10 14 14 10 10 10 10 10 12 12 12 12 10 10 10 10 12 12 Columns 31 through 60 12 12 12 12 8 8 10 10 14 14 10 14 14 10 12 8 8 12 12 12 12 12 8 12 16 12 10 14 18 14 Columns 61 through 90 14 14 14 14 10 12 8 10 6 12 12 10 10 16 12 10 10 12 12 14 14 12 12 18 8 14 14 12 10 12 Columns 91 through 120 12 14 12 14 14 16 8 10 14 16 14 16 12 14 10 12 12 14 12 14 14 16 8 14 14 12 12 14 10 12 Columns 121 through 150 10 16 12 10 14 16 16 18 10 10 8 12 6 10 12 12 10 10 12 16 10 14 12 12 14 14 12 16 12 12 Columns 151 through 180 10 14 10 10 12 16 16 16 10 14 12 12 10 14 14 14 12 16 10 14 12 12 16 12 10 18 12 12 10 14 Columns 181 through 210 8 12 14 14 10 14 12 12 14 14 16 20 10 8 10 12 14 16 14 12 14 16 14 12 14 12 14 16 14 8 Columns 211 through 240 10 16 12 14 16 14 14 12 10 12 12 10 16 18 12 10 12 14 14 12 14 16 14 12 14 16 12 10 12 14 Columns 241 through 256 12 14 16 14 16 14 12 14 14 16 18 16 18 16 14 16 mini = 6 ind = 1

9   Pass
board = [0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 1 1 0 1 1 1 1 0]; moves = lights_out_10(board); b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 14 8 4 10 10 12 16 10 14 12 12 10 14 12 12 8 12 10 10 10 10 12 16 8 8 10 14 10 14 Columns 31 through 60 12 12 8 8 10 14 10 14 12 12 10 10 12 16 8 12 10 10 10 14 12 12 10 14 12 12 12 16 14 14 Columns 61 through 90 12 16 14 14 6 8 14 12 10 12 10 8 10 12 14 12 10 12 14 12 12 14 16 14 14 12 10 12 12 14 Columns 91 through 120 12 10 14 12 14 16 12 14 12 10 14 12 14 16 14 12 10 12 12 14 16 14 10 12 14 12 10 12 14 12 Columns 121 through 150 12 10 12 14 12 18 20 14 8 12 12 8 12 8 8 12 12 12 12 12 12 12 12 12 14 14 14 14 12 8 Columns 151 through 180 12 16 14 10 10 14 12 12 16 16 14 10 10 14 12 12 16 16 12 8 12 16 14 14 14 14 12 12 12 12 Columns 181 through 210 12 12 12 12 10 10 14 14 18 18 14 14 8 10 10 12 12 14 14 16 12 14 14 16 12 14 14 16 10 12 Columns 211 through 240 12 14 16 14 10 16 10 12 12 14 16 14 10 16 10 12 12 14 16 14 10 16 16 14 10 16 10 12 12 14 Columns 241 through 256 12 14 14 16 12 14 14 16 18 16 12 18 10 16 20 18 mini = 4 ind = 4

10   Pass
board = [1 0 1 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 1 1 1 0 1]; moves = lights_out_10(board); b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 10 10 10 8 8 8 12 8 8 8 12 10 14 14 14 12 12 8 12 12 12 12 16 14 10 6 14 10 14 Columns 31 through 60 14 14 14 14 10 14 10 10 10 14 10 10 10 14 14 14 10 14 8 12 12 12 10 10 10 14 8 12 16 16 Columns 61 through 90 14 14 10 14 12 10 10 12 10 12 12 10 14 12 12 14 12 14 14 12 10 8 12 14 14 12 12 14 12 10 Columns 91 through 120 14 16 12 10 10 12 8 10 14 12 16 10 10 16 12 10 10 12 12 10 14 16 10 12 12 10 16 14 14 16 Columns 121 through 150 18 16 12 14 12 14 18 16 10 14 12 8 8 8 14 14 12 12 14 14 10 14 16 12 12 12 10 10 12 12 Columns 151 through 180 14 14 14 10 12 16 10 14 12 8 10 10 12 12 14 14 12 12 10 10 12 12 14 14 12 12 8 12 14 10 Columns 181 through 210 14 14 16 16 12 16 18 14 14 14 16 16 8 10 12 14 10 16 10 8 10 12 10 12 12 18 16 14 10 12 Columns 211 through 240 14 16 14 16 14 16 12 14 12 14 12 14 16 18 12 18 16 14 12 10 12 18 12 14 12 14 12 14 16 18 Columns 241 through 256 10 16 14 12 12 14 12 14 14 16 14 16 12 18 16 14 mini = 6 ind = 1

11   Pass
board = [0 1 0 1 1 0 0 0 0 1 0 0 0 1 1 0 1 1 0 0 1 1 0 0 0]; moves = lights_out_10(board); b1 = diag(ones(1,5),0) + diag(ones(1,4),1) + diag(ones(1,4),-1); b1(1,5) = 1; b1(5,1) = 1; b2 = eye(5); b3 = zeros(5); b_map = [b1,b2,b3,b3,b2; b2,b1,b2,b3,b3; b3,b2,b1,b2,b3; b3,b3,b2,b1,b2; b2,b3,b3,b2,b1]; for i = 1:numel(moves) board = mod(board + reshape(b_map(moves(i),:),[5,5]),2); %remove semicolon to display progress end assert(sum(abs(board(:)))==0) assert(numel(moves)==6)

ans = Columns 1 through 30 6 10 10 10 8 8 8 12 6 10 14 14 12 12 8 12 10 14 10 10 10 14 14 14 10 14 14 14 10 14 Columns 31 through 60 10 10 12 12 8 12 8 16 16 12 10 14 10 10 10 14 14 14 8 8 8 12 10 14 14 14 10 14 14 14 Columns 61 through 90 12 12 12 16 12 10 10 12 10 12 12 10 12 14 10 8 14 12 16 18 8 10 14 12 12 14 14 12 8 14 Columns 91 through 120 14 8 12 10 14 16 10 12 16 14 10 12 12 10 8 10 14 12 12 14 14 12 14 12 12 14 12 14 14 12 Columns 121 through 150 16 14 14 16 14 16 16 14 10 10 12 12 12 8 10 14 10 10 12 12 16 12 14 18 10 10 12 12 14 14 Columns 151 through 180 12 12 10 10 12 12 14 14 12 12 16 12 10 14 8 12 14 10 10 10 12 12 14 14 12 12 16 12 10 14 Columns 181 through 210 10 10 16 16 14 14 16 16 16 12 14 18 12 10 8 14 10 12 10 12 12 14 12 14 14 12 10 16 12 14 Columns 211 through 240 12 14 12 14 16 18 12 18 16 14 12 10 12 18 10 12 14 16 14 16 14 16 12 14 12 14 12 14 16 18 Columns 241 through 256 10 8 10 16 16 18 12 14 16 14 12 18 14 16 14 16 mini = 6 ind = 1