1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
int A(2), B(2), C(2);
int D(3), E(3), F(3);
int G(4), H(4), I(4);
int J(5), K(5), L(5);
int M(6), N(6), O(6);
int P(7), Q(7), R(7), S(7);
int T(8), U(8), V(8);
int W(9), X(9), Y(9), Z(9);
int i;
int test[] = {1,8,8,8,D,O,G,B,I,T,E};
int test2[] = {F,A,S,T,C,A,S,H,N,O,W};
for(i = 0; i != 11; ++i) std::cout << test[i] << " ";
cout << endl;
for(i = 0; i != 11; ++i) std::cout << test2[i] << " ";
|