1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
short a,b,c,d,e,f,g,h,i;
short a1,a2,a3 , a4,a5,a6 , a7,a8,a9,
b1,b2,b3 , b4,b5,b6 , b7,b8,b9,
c1,c2,c3 , c4,c5,c6 , c7,c8,c9,
d1,d2,d3 , d4,d5,d6 , d7,d8,d9,
e1,d2,d3 , d4,d5,d6 , d7,d8,d9,
f1,f2,f3 , f4,f5,f6 , f7,f8,f9,
g1,g2,g3 , g4,g5,g6 , g7,g8,g9,
h1,h2,h3 , h4,h5,h6 , h7,h8,h9,
i1,i2,i3 , i4,i5,i6 , i7,i8,a9};
short SudokuArray [a] [b] [c] [d] [e] [f] [g] [h] [i] = {a1,a2,a3 , a4,a5,a6 , a7,a8,a9},
{b1,b2,b3 , b4,b5,b6 , b7,b8,b9},
{c1,c2,c3 , c4,c5,c6 , c7,c8,c9},
{d1,d2,d3 , d4,d5,d6 , d7,d8,d9},
{e1,d2,d3 , d4,d5,d6 , d7,d8,d9},
{f1,f2,f3 , f4,f5,f6 , f7,f8,f9},
{g1,g2,g3 , g4,g5,g6 , g7,g8,g9},
{h1,h2,h3 , h4,h5,h6 , h7,h8,h9},
{i1,i2,i3 , i4,i5,i6 , i7,i8,a9};
|