Want to a also didn't want to know what to do in the afternoon, bother you to teach me
CodePudding user response:
Where not? Will not generate round robin? Or not integral?CodePudding user response:
The circle part should be a headache for all?CodePudding user response:
#include
# define N 10
Int main ()
{
Int a [N + 1);
int i, j;
For (I=0; I & lt; N; I++)
A [I]=I + 1;
For (I=0; I & lt; N-1; I++) {
Printf (" the first round % d: \ n ", I + 1);
For (j=0; J & lt; N/2; J++) {
Printf (" % % 4 d - - 4 d ", a [j], a [9 - j]);
}
Printf (" \ n -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- \ n ");
For (j=N - 1; J & gt; 0; J -) {
A [j + 1)=a, [j].
}
A [1]=a, [N].
}
return 0;
}
For reference,